summaryrefslogtreecommitdiff
path: root/databases/postgresql-client
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-21 21:40:07 +0000
committerjlam <jlam@pkgsrc.org>2001-06-21 21:40:07 +0000
commita85615f592fa5c2d217a8320b03ed67a7cb1b2dc (patch)
treee01fd8e8e9be85545cfedf67fe95fc5c2344b8ea /databases/postgresql-client
parentc2ae73c3467488a9832b6badaf6efff00c4cd9b3 (diff)
downloadpkgsrc-a85615f592fa5c2d217a8320b03ed67a7cb1b2dc.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'databases/postgresql-client')
-rw-r--r--databases/postgresql-client/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/databases/postgresql-client/Makefile b/databases/postgresql-client/Makefile
index 47526ce239d..01a1abb19ab 100644
--- a/databases/postgresql-client/Makefile
+++ b/databases/postgresql-client/Makefile
@@ -1,28 +1,25 @@
-# $NetBSD: Makefile,v 1.6 2001/06/11 02:05:08 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2001/06/21 21:40:08 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
-.include "../../devel/libgetopt/buildlink.mk"
-.include "../../devel/readline/buildlink.mk"
PKGNAME= postgresql-client-${PG_VERS}
PG_PKG_VERS= # empty
COMMENT= PostgreSQL database client programs
-DEPENDS+= postgresql-lib>=${PG_BASE_VERS}:../../databases/postgresql-lib
+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"
-MAKE_ENV+= INSTALLED_LIBPQ=1
CONFIGURE_ARGS+= --enable-readline
+MAKE_ENV+= INSTALLED_LIBPQ=1
DIRS_TO_BUILD= src/bin
-# The following is a hack to force ${BUILDLINK_DIR}/lib to the front of the
-# linker's library search path without having to patch a lot of Makefile.
-# It works because the PostgreSQL Makefiles invoke the linker with $(CFLAGS)
-# as well.
-#
-CFLAGS+= -L${BUILDLINK_DIR}/lib
-
pre-build:
cd ${WRKSRC}/src/bin/psql && \
${RM} -f pqsignal.h && \