Date: Sat, 27 Nov 2004 20:00:12 +0100 (CET) From: Palle Girgensohn <girgen@pingpong.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74456: [MAINTAINER] databases/postgresql-libpqxx: fix problem on FreeBSD 4.x Message-ID: <20041127190012.277B01CDA4@palle.girgensohn.se> Resent-Message-ID: <200411271900.iARJ0kAS026778@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74456 >Category: ports >Synopsis: [MAINTAINER] databases/postgresql-libpqxx: fix problem on FreeBSD 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 27 19:00:46 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 5.3-RELEASE-p1 i386 >Organization: Ping Pong AB >Environment: System: FreeBSD palle.girgensohn.se 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #16: Sat Nov 20 04:26:58 CET 2004 >Description: Reported by: Michael Nottebrock <michaelnottebrock@gmx.net> On FreebSD 4.x, the port uses stlport, but the preprocessor fails during configure: checking ios usability... yes checking ios presence... no configure: WARNING: ios: accepted by the compiler, rejected by the preprocessor! configure: WARNING: ios: proceeding with the compiler's result checking for ios... yes The preprocessor must get the -I ../stlport, so set it in CPPFLAGS. The below patch fixes this. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- postgresql-libpqxx-2.4.2_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-libpqxx/Makefile,v retrieving revision 1.13 diff -u -u -r1.13 Makefile --- Makefile 19 Nov 2004 16:13:48 -0000 1.13 +++ Makefile 27 Nov 2004 18:55:23 -0000 @@ -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 @@ .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> --- postgresql-libpqxx-2.4.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041127190012.277B01CDA4>