pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

databases/postgresql12: a simple fix for DragonFly BSD



Hi,

Postgresql builds on DragonflyBSD with no extra patches if only --with-template=freebsd is passed at the the configure stage:

diff --git a/databases/postgresql12/Makefile.common b/databases/postgresql12/Makefile.common
index 3f0ae40f1a0..1b7551f592b 100644
--- a/databases/postgresql12/Makefile.common
+++ b/databases/postgresql12/Makefile.common
@@ -45,6 +45,7 @@ PKG_SYSCONFSUBDIR=    postgresql
 PG_TEMPLATE.SunOS=     solaris
 PG_TEMPLATE.IRIX=      irix5
 PG_TEMPLATE.MirBSD=    openbsd
+PG_TEMPLATE.DragonFly= freebsd
 .if !defined(PG_TEMPLATE.${OPSYS})
 PG_TEMPLATE.${OPSYS}=  ${LOWER_OPSYS}
 .endif

However this is not enough for postgrqsql11: it fails at a later stage.

--
Aleksej Lebedev


Home | Main Index | Thread Index | Old Index