diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /databases/postgresql-lib | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'databases/postgresql-lib')
-rw-r--r-- | databases/postgresql-lib/Makefile | 8 | ||||
-rw-r--r-- | databases/postgresql-lib/buildlink2.mk | 26 |
2 files changed, 30 insertions, 4 deletions
diff --git a/databases/postgresql-lib/Makefile b/databases/postgresql-lib/Makefile index 5b86fdef8cc..25b239c3ff2 100644 --- a/databases/postgresql-lib/Makefile +++ b/databases/postgresql-lib/Makefile @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.5 2002/04/04 07:41:02 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2002/08/25 18:38:24 jlam Exp $ PKGNAME= postgresql-lib-${BASE_VERS} COMMENT= PostgreSQL database headers and libraries -USE_BUILDLINK_ONLY= YES +USE_BUILDLINK2= YES .include "../../databases/postgresql/Makefile.common" -CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_DIR} +CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} DIRS_TO_BUILD= src/include src/interfaces src/pl .include "../../mk/bsd.prefs.mk" @@ -37,5 +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 "../../security/openssl/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql-lib/buildlink2.mk b/databases/postgresql-lib/buildlink2.mk new file mode 100644 index 00000000000..6134cbf6e07 --- /dev/null +++ b/databases/postgresql-lib/buildlink2.mk @@ -0,0 +1,26 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:25 jlam Exp $ + +.if !defined(POSTGRESQL_LIB_BUILDLINK2_MK) +POSTGRESQL_LIB_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= postgresql-lib +BUILDLINK_DEPENDS.postgresql-lib?= postgresql-{6.5.3*,7.0*,lib-*} +BUILDLINK_PKGSRCDIR.postgresql-lib?= ../../databases/postgresql-lib + +EVAL_PREFIX+= BUILDLINK_PREFIX.postgresql-lib=postgresql-lib +BUILDLINK_PREFIX.postgresql-lib_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.postgresql-lib= include/pgsql/*/*/*.h +BUILDLINK_FILES.postgresql-lib+= include/pgsql/*/*.h +BUILDLINK_FILES.postgresql-lib+= include/pgsql/*.h +BUILDLINK_FILES.postgresql-lib+= lib/libecpg.* +BUILDLINK_FILES.postgresql-lib+= lib/libpgeasy.* +BUILDLINK_FILES.postgresql-lib+= lib/libpq++.* +BUILDLINK_FILES.postgresql-lib+= lib/libpq.* + +.include "../../security/openssl/buildlink2.mk" + +BUILDLINK_TARGETS+= postgresql-lib-buildlink + +postgresql-lib-buildlink: _BUILDLINK_USE + +.endif # POSTGRESQL_LIB_BUILDLINK2_MK |