From owner-freebsd-ports Thu Feb 21 3:10:14 2002 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 8256F37B416 for ; Thu, 21 Feb 2002 03:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1LBA2K66734; Thu, 21 Feb 2002 03:10:02 -0800 (PST) (envelope-from gnats) Received: from ymer.pil.dk (ymer.pil.dk [193.162.142.158]) by hub.freebsd.org (Postfix) with ESMTP id 250BC37B402 for ; Thu, 21 Feb 2002 03:02:19 -0800 (PST) Received: (from root@localhost) by ymer.pil.dk (8.11.6/8.11.6) id g1LB2GC52344; Thu, 21 Feb 2002 12:02:16 +0100 (CET) (envelope-from root) Message-Id: <200202211102.g1LB2GC52344@ymer.pil.dk> Date: Thu, 21 Feb 2002 12:02:16 +0100 (CET) From: Erwin Lansing Reply-To: Erwin Lansing To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35176: ports/databases/p5-DBD-Pg wrong include path Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35176 >Category: ports >Synopsis: ports/databases/p5-DBD-Pg wrong include path >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 03:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Erwin Lansing >Release: FreeBSD 4.5-STABLE i386 >Organization: pil.dk >Environment: System: FreeBSD ymer 4.5-STABLE FreeBSD 4.5-STABLE #5: Tue Feb 19 01:38:35 CET 2002 root@prison.pil.dk:/usr/obj/usr/src/sys/YMER i386 >Description: ports/databases/p5-DBD-Pg/ wrongfully sets POSTGRES_INCLUDE to ${PREFIX}/include/pgsql, which should be ${PREFIX}/include after upgrade of databases/postgresql7 to version 7.2 >How-To-Repeat: ymer# cd /usr/ports/databases/p5-DBD-Pg/ ymer# make ===> Extracting for p5-DBD-Pg-1.01 >Fix: ymer# diff -u Makefile.orig Makefile --- Makefile.orig Thu Feb 21 11:54:50 2002 +++ Makefile Thu Feb 21 11:55:08 2002 @@ -19,7 +19,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -CONFIGURE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql \ +CONFIGURE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include \ POSTGRES_LIB=${PREFIX}/lib MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} >Release-Note: >Audit-Trail: >Unformatted: >> Checksum OK for DBD-Pg-1.01.tar.gz. ===> p5-DBD-Pg-1.01 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386 -freebsd/DBI.pm - found ===> p5-DBD-Pg-1.01 depends on shared library: pq.2 - found ===> Patching for p5-DBD-Pg-1.01 ===> Configuring for p5-DBD-Pg-1.01 Configuring Pg Remember to actually read the README file ! OS: freebsd Using DBI 1.20 installed in /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/au to/DBI Checking if your kit is complete... Looks good Writing Makefile for DBD::Pg ===> Building for p5-DBD-Pg-1.01 mkdir blib mkdir blib/lib mkdir blib/lib/DBD cp Pg.pm blib/lib/DBD/Pg.pm cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod /usr/bin/perl5.00503 -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.0050 3 /usr/libdata/perl/5.00503/ExtUtils/xsubpp -typemap /usr/libdata/perl/5.00503/ ExtUtils/typemap Pg.xs >xstmp.c && mv xstmp.c Pg.c cc -c -I/usr/local/include/pgsql -I/usr/local/lib/perl5/site_perl/5.005/i386-fre ebsd/auto/DBI -O -pipe -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -DPIC -fpi c -I/usr/libdata/perl/5.00503/mach/CORE Pg.c In file included from Pg.xs:13: Pg.h:17: libpq-fe.h: No such file or directory In file included from /usr/libdata/perl/5.00503/mach/CORE/perlsdio.h:5, from /usr/libdata/perl/5.00503/mach/CORE/iperlsys.h:203, from /usr/libdata/perl/5.00503/mach/CORE/perl.h:325, from /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI /DBIXS.h:19, from Pg.h:39, from Pg.xs:13: /usr/include/stdio.h:164: warning: `BUFSIZ' redefined Pg.h:34: warning: this is the location of the previous definition In file included from Pg.h:41, from Pg.xs:13: dbdimp.h:22: syntax error before `PGconn' dbdimp.h:31: syntax error before `PGresult' *** Error code 1 Stop in /usr/ports/databases/p5-DBD-Pg/work/DBD-Pg-1.01. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message