summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-29 17:13:48 +0000
committertron <tron@pkgsrc.org>2001-07-29 17:13:48 +0000
commitf29efa9b014b1a2e12b1af0820fc0f63d50985d6 (patch)
tree502f0adb1a253ab1cd8dbade23afd8ade6d7c9ad /databases
parent8b0b9ed4435eda4135e5d5a10d98f77841abd9f2 (diff)
downloadpkgsrc-f29efa9b014b1a2e12b1af0820fc0f63d50985d6.tar.gz
Work arround build problem under Solaris. Fixes PR pkg/13021 by
Jeff Rizzo.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-lib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/postgresql-lib/Makefile b/databases/postgresql-lib/Makefile
index 531652ef07d..5004ea6e3aa 100644
--- a/databases/postgresql-lib/Makefile
+++ b/databases/postgresql-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/06/21 21:40:08 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2001/07/29 17:13:48 tron Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -11,7 +11,14 @@ USE_BUILDLINK_ONLY= # defined
DIRS_TO_BUILD= src/include src/interfaces src/pl
+.include "../../mk/bsd.prefs.mk"
+
do-build:
+# Avoid conflict between "/usr/include/crypt.h" and
+# "${LOCALBASE}/include/openssl/des.h".
+.if (${OPSYS} == "SunOS")
+ ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
+.endif
.for DIR in ${DIRS_TO_BUILD}
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${ALL_TARGET}