summaryrefslogtreecommitdiff
path: root/databases/libpqxx
diff options
context:
space:
mode:
authorrecht <recht>2004-07-24 22:45:14 +0000
committerrecht <recht>2004-07-24 22:45:14 +0000
commitf49f20fba9ec34014bca113881c7746d144b105c (patch)
tree2a9af75a69e002a52d9f045391377b6b709f9e60 /databases/libpqxx
parentc99a1378b927547b6b79e4da96784fddbbbeb2d8 (diff)
downloadpkgsrc-f49f20fba9ec34014bca113881c7746d144b105c.tar.gz
Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
Diffstat (limited to 'databases/libpqxx')
-rw-r--r--databases/libpqxx/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/databases/libpqxx/Makefile b/databases/libpqxx/Makefile
index fb9dae47e24..87c14bbf745 100644
--- a/databases/libpqxx/Makefile
+++ b/databases/libpqxx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/05/08 05:25:12 snj Exp $
+# $NetBSD: Makefile,v 1.11 2004/07/24 22:45:15 recht Exp $
#
.include "../../databases/libpqxx/Makefile.common"
@@ -15,12 +15,11 @@ USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE+= libpqxx.pc.in
GNU_CONFIGURE= yes
-PG_PREFIX= ${BUILDLINK_PREFIX.postgresql-lib}
-CONFIGURE_ARGS+= --with-postgres-lib=${PG_PREFIX}/lib
-CONFIGURE_ARGS+= --with-postgres-include=${PG_PREFIX}/include/postgresql
+CONFIGURE_ARGS+= --with-postgres-lib=${PGSQL_PREFIX}/lib
+CONFIGURE_ARGS+= --with-postgres-include=${PGSQL_PREFIX}/include/postgresql
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
-.include "../../databases/postgresql-lib/buildlink3.mk"
+.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"