summaryrefslogtreecommitdiff
path: root/databases/postgresql-client
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-23 19:26:48 +0000
committerjlam <jlam>2001-06-23 19:26:48 +0000
commit511662a5766e71adec2e6c0bd094eadfeb3e07b3 (patch)
treeca311365ad4be7fa955c6e626140f094e60c3647 /databases/postgresql-client
parent6ec0f65d350df34c002f72b07be7f4d4adf95c31 (diff)
downloadpkgsrc-511662a5766e71adec2e6c0bd094eadfeb3e07b3.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-client')
-rw-r--r--databases/postgresql-client/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/postgresql-client/Makefile b/databases/postgresql-client/Makefile
index 01a1abb19ab..ec77578b43c 100644
--- a/databases/postgresql-client/Makefile
+++ b/databases/postgresql-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/21 21:40:08 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/23 19:26:51 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -7,13 +7,8 @@ PKGNAME= postgresql-client-${PG_VERS}
PG_PKG_VERS= # empty
COMMENT= PostgreSQL database client programs
-USE_BUILDLINK_ONLY= # defined
-POSTGRESQL_LIB_REQD= ${PG_BASE_VERS}
-
-.include "../../devel/libgetopt/buildlink.mk"
-.include "../../devel/readline/buildlink.mk"
-.include "../../devel/zlib/buildlink.mk"
-.include "../../databases/postgresql-lib/buildlink.mk"
+USE_BUILDLINK_ONLY= # defined
+BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS}
CONFIGURE_ARGS+= --enable-readline
MAKE_ENV+= INSTALLED_LIBPQ=1
@@ -41,4 +36,8 @@ post-install:
${SED} -e "s|^#.*||" ${FILESDIR}/exclude \
| ${GTAR} zxCXf ${PREFIX}/man - ${WRKSRC}/doc/man.tar.gz
+.include "../../devel/libgetopt/buildlink.mk"
+.include "../../devel/readline/buildlink.mk"
+.include "../../devel/zlib/buildlink.mk"
+.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"