summaryrefslogtreecommitdiff
path: root/databases/postgresql-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-lib/Makefile')
-rw-r--r--databases/postgresql-lib/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/databases/postgresql-lib/Makefile b/databases/postgresql-lib/Makefile
index bd159a3eccd..5b86fdef8cc 100644
--- a/databases/postgresql-lib/Makefile
+++ b/databases/postgresql-lib/Makefile
@@ -1,20 +1,22 @@
-# $NetBSD: Makefile,v 1.4 2001/12/03 08:06:26 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/04/04 07:41:02 jlam Exp $
-.include "../../databases/postgresql/Makefile.common"
-.include "../../databases/postgresql/Makefile.ssl"
-
-PKGNAME= postgresql-lib-${PG_BASE_VERS}
+PKGNAME= postgresql-lib-${BASE_VERS}
COMMENT= PostgreSQL database headers and libraries
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK_ONLY= YES
+
+.include "../../databases/postgresql/Makefile.common"
+CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_DIR}
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".
+#
+# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
+# "/usr/include/crypt.h" -- we want the definitions in the former.
+#
.if (${OPSYS} == "SunOS")
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
@@ -35,4 +37,5 @@ post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|^#.*||" ${FILESDIR}/man.lib`
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"