From owner-freebsd-ports Sat Apr 28 5:50: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 206B337B42C for ; Sat, 28 Apr 2001 05:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3SCo2O98945; Sat, 28 Apr 2001 05:50:02 -0700 (PDT) (envelope-from gnats) Received: from palle.girgensohn.se (c213.89.164.11.cm-upc.chello.se [213.89.164.11]) by hub.freebsd.org (Postfix) with ESMTP id 4854037B423 for ; Sat, 28 Apr 2001 05:46:42 -0700 (PDT) (envelope-from girgen@palle.girgensohn.se) Received: (from girgen@localhost) by palle.girgensohn.se (8.11.3/8.11.3) id f3SCkde82436; Sat, 28 Apr 2001 14:46:39 +0200 (CEST) (envelope-from girgen) Message-Id: <200104281246.f3SCkde82436@palle.girgensohn.se> Date: Sat, 28 Apr 2001 14:46:39 +0200 (CEST) From: girgen@partitur.se Reply-To: girgen@partitur.se To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26918: databases/p5-Pg fix for dual postgres destinations Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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