diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-23 19:26:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-23 19:26:48 +0000 |
commit | 34d11d8a0f59e1c62bc5b1cc1046d3275e061062 (patch) | |
tree | ca311365ad4be7fa955c6e626140f094e60c3647 /databases/postgresql-server | |
parent | 8ca42bcf7c09eef6cbb13b534ad4d0a51c780fb1 (diff) | |
download | pkgsrc-34d11d8a0f59e1c62bc5b1cc1046d3275e061062.tar.gz |
Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
Diffstat (limited to 'databases/postgresql-server')
-rw-r--r-- | databases/postgresql-server/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile index b42eca2a5ab..fd9f6d4a00a 100644 --- a/databases/postgresql-server/Makefile +++ b/databases/postgresql-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/06/21 21:40:08 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2001/06/23 19:26:52 jlam Exp $ .include "../../databases/postgresql/Makefile.common" .include "../../databases/postgresql/Makefile.ssl" @@ -7,11 +7,8 @@ PKGNAME= postgresql-server-${PG_VERS} PG_PKG_VERS= # empty COMMENT= PostgreSQL database server programs -USE_BUILDLINK_ONLY= # defined -POSTGRESQL_LIB_REQD= ${PG_BASE_VERS} - -.include "../../devel/libgetopt/buildlink.mk" -.include "../../databases/postgresql-lib/buildlink.mk" +USE_BUILDLINK_ONLY= # defined +BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS} DEPENDS+= postgresql-client>=${PG_BASE_VERS}:../../databases/postgresql-client @@ -101,4 +98,6 @@ post-install: ${INSTALL_SCRIPT} ${WRKDIR}/pgsql.sh ${PREFIX}/etc/rc.d/pgsql PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL +.include "../../devel/libgetopt/buildlink.mk" +.include "../../databases/postgresql-lib/buildlink.mk" .include "../../mk/bsd.pkg.mk" |