diff options
author | jlam <jlam> | 2001-06-23 19:26:48 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-23 19:26:48 +0000 |
commit | 5b2c8b48db2ee1d0436c0891fd223c20cdf5d434 (patch) | |
tree | ca311365ad4be7fa955c6e626140f094e60c3647 /databases/postgresql-pltcl | |
parent | a22484eaf1d72499b5caeed38ea9627ead371252 (diff) | |
download | pkgsrc-5b2c8b48db2ee1d0436c0891fd223c20cdf5d434.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-pltcl')
-rw-r--r-- | databases/postgresql-pltcl/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile index 49c05d37807..b7643bdb969 100644 --- a/databases/postgresql-pltcl/Makefile +++ b/databases/postgresql-pltcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/06/21 21:40:08 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2001/06/23 19:26:51 jlam Exp $ .include "../../databases/postgresql/Makefile.common" .include "../../databases/postgresql/Makefile.ssl" @@ -7,11 +7,8 @@ PKGNAME= postgresql-pltcl-${PG_VERS} PG_PKG_VERS= # empty COMMENT= PL/Tcl procedural language for the PostgreSQL backend -USE_BUILDLINK_ONLY= # defined -POSTGRESQL_LIB_REQD= ${PG_BASE_VERS} - -.include "../../databases/postgresql-lib/buildlink.mk" -.include "../../lang/tcl/buildlink.mk" +USE_BUILDLINK_ONLY= # defined +BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS} DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server @@ -34,4 +31,6 @@ do-install: ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} .endfor +.include "../../databases/postgresql-lib/buildlink.mk" +.include "../../lang/tcl/buildlink.mk" .include "../../mk/bsd.pkg.mk" |