Date: Sat, 28 Apr 2001 14:46:39 +0200 (CEST) From: girgen@partitur.se To: FreeBSD-gnats-submit@freebsd.org Subject: ports/26918: databases/p5-Pg fix for dual postgres destinations Message-ID: <200104281246.f3SCkde82436@palle.girgensohn.se>
next in thread | raw e-mail | index | archive | help
>Number: 26918 >Category: ports >Synopsis: databases/p5-Pg fix for dual postgres destinations >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 28 05:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 4.3-BETA i386 >Organization: Partitur >Environment: System: FreeBSD palle.girgensohn.se 4.3-BETA FreeBSD 4.3-BETA #7: Mon Mar 19 01:12:38 CET 2001 girgen@palle.girgensohn.se:/usr/obj/usr/src/sys/STORDATAN i386 >Description: With postgresql-7.1, the installer can choose to install according to traditional layout, or to install in /usr/local, obeying hier(7). For both ways to work, port depending on postgresql need to accept both locations for includes and libs. Here's the fix for p5-Pg. >How-To-Repeat: build and install postgres with make -DWITH_OLD_LAYOUT, and try to build databases/p5-Pg after that. >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/p5-Pg/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- Makefile 2001/04/21 11:43:08 1.29 +++ Makefile 2001/04/22 00:48:23 @@ -19,8 +19,8 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 PERL_CONFIGURE= yes -CONFIGURE_ENV= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \ - POSTGRES_LIB=${LOCALBASE}/lib +CONFIGURE_ENV= POSTGRES_INCLUDE="${LOCALBASE}/include/pgsql -I${LOCALBASE}/pgsql/include" \ + POSTGRES_LIB="${LOCALBASE}/lib -L${LOCALBASE}/pgsql/lib" MAN3= Pg.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104281246.f3SCkde82436>