summaryrefslogtreecommitdiff
path: root/databases/postgresql-lib
diff options
context:
space:
mode:
authortron <tron>2001-07-29 17:13:48 +0000
committertron <tron>2001-07-29 17:13:48 +0000
commit982924589702b6b5e139964a9a2673828d594347 (patch)
tree502f0adb1a253ab1cd8dbade23afd8ade6d7c9ad /databases/postgresql-lib
parent49d7f222ebc1ff2629625aa3cead246ae68ab7ee (diff)
downloadpkgsrc-982924589702b6b5e139964a9a2673828d594347.tar.gz
Work arround build problem under Solaris. Fixes PR pkg/13021 by
Jeff Rizzo.
Diffstat (limited to 'databases/postgresql-lib')
-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}