diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-16 05:28:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-16 05:28:55 +0000 |
commit | 421b1ef2f020b2b64b9a724658b170cae9cc0168 (patch) | |
tree | 0cabf54144e1bbc1a2935d2383264e5ccd850dda /databases/postgresql-client | |
parent | 2b1572b5ee3ba6016f9d3c29fec0b3c088d85302 (diff) | |
download | pkgsrc-421b1ef2f020b2b64b9a724658b170cae9cc0168.tar.gz |
Adapt postgresql-client to use devel/readline/Makefile.readline instead
of the one in databases/postgresql. Remove the Makefile.readline in
databases/postgresql as it's no longer used by any packages.
Diffstat (limited to 'databases/postgresql-client')
-rw-r--r-- | databases/postgresql-client/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/databases/postgresql-client/Makefile b/databases/postgresql-client/Makefile index 2845f75c961..44fe90dfb85 100644 --- a/databases/postgresql-client/Makefile +++ b/databases/postgresql-client/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 14:45:36 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2001/05/16 05:28:56 jlam Exp $ .include "../../databases/postgresql/Makefile.common" -.include "../../databases/postgresql/Makefile.getopt" -.include "../../databases/postgresql/Makefile.readline" .include "../../databases/postgresql/Makefile.ssl" +.include "../../devel/libgetopt/Makefile.getopt" +.include "../../devel/readline/Makefile.readline" PKGNAME= postgresql-client-${PG_VERS} PG_PKG_VERS= # empty @@ -12,10 +12,14 @@ COMMENT= PostgreSQL database client programs DEPENDS+= postgresql-lib>=${PG_BASE_VERS}:../../databases/postgresql-lib MAKE_ENV+= INSTALLED_LIBPQ=1 +CONFIGURE_ARGS+= --enable-readline + +CFLAGS+= -L${WRKLIBDIR} +LDFLAGS+= -L${WRKLIBDIR} DIRS_TO_BUILD= src/bin -pre-configure: link-getopt-headers link-readline-headers +pre-configure: link-getopt-headers link-readline-headers link-readline-libs pre-build: cd ${WRKSRC}/src/bin/psql && \ |