aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-libpqxx30
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-libpqxx30')
-rw-r--r--databases/postgresql-libpqxx30/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/postgresql-libpqxx30/Makefile b/databases/postgresql-libpqxx30/Makefile
index 9a7625bd8f51..ce6f12d529c1 100644
--- a/databases/postgresql-libpqxx30/Makefile
+++ b/databases/postgresql-libpqxx30/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>