From 7ce25dcb36b2a7e86c63933a8082d8b453e400d5 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Sun, 28 Nov 2004 00:54:56 +0000 Subject: Fix configure checks for C++ headers on 4.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: ????? (¹) Submitted by: maintainer (¹) PR was cc'd to me six hours ago, but hasn't made it into GNATS yet. Assemble an away team, number one! --- databases/postgresql-libpqxx30/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'databases/postgresql-libpqxx30') 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 -- cgit v1.2.3