aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-libpqxx
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-11-28 00:54:56 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-11-28 00:54:56 +0000
commit7ce25dcb36b2a7e86c63933a8082d8b453e400d5 (patch)
treed40619c51b35045575edeb40b60188a87625e28f /databases/postgresql-libpqxx
parentac7179b6abe05cba3846ad83194dad494978979d (diff)
downloadports-7ce25dcb36b2a7e86c63933a8082d8b453e400d5.tar.gz
ports-7ce25dcb36b2a7e86c63933a8082d8b453e400d5.zip
Notes
Diffstat (limited to 'databases/postgresql-libpqxx')
-rw-r--r--databases/postgresql-libpqxx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile
index 9a7625bd8f51..ce6f12d529c1 100644
--- a/databases/postgresql-libpqxx/Makefile
+++ b/databases/postgresql-libpqxx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libpqxx
PORTVERSION= 2.4.2
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqxx/stable/
PKGNAMEPREFIX= postgresql-
@@ -34,9 +35,9 @@ POSTGRESQL_PORT?= databases/postgresql7
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CXXFLAGS+= -I${LOCALBASE}/include/stlport
+CPPFLAGS+= -I${LOCALBASE}/include/stlport
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
.endif
.include <bsd.port.post.mk>