Date: Wed, 21 Jul 1999 03:58:48 +0200 (CEST) From: Palle Girgensohn <girgen@partitur.se> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12726: p5-Pg fixed Message-ID: <199907210158.DAA13548@stordatan.telia.com>
next in thread | raw e-mail | index | archive | help
>Number: 12726 >Category: ports >Synopsis: p5-Pg fixed >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 19:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 3.2-STABLE i386 >Organization: Partitur >Environment: FreeBSD 3.2-STABLE i386 ELF >Description: p5-Pg is marked as broken. As pointed out by Gianmarco Giovannelli (gmarco@giovannelli.it), the fresh version from CPAN works fine. >How-To-Repeat: >Fix: Apply this patch: diff -urN p5-Pg/Makefile p5-Pg.new/Makefile --- p5-Pg/Makefile Wed Dec 2 03:03:43 1998 +++ p5-Pg.new/Makefile Wed Jul 21 03:44:18 1999 @@ -6,8 +6,8 @@ # $Id: Makefile,v 1.16 1998/11/28 00:55:35 asami Exp $ # -DISTNAME= pgsql_perl5-1.6.1 -PKGNAME= p5-Pg-1.6.1 +DISTNAME= pgsql_perl5-1.8.1 +PKGNAME= p5-Pg-1.8.1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Pg @@ -16,9 +16,10 @@ BUILD_DEPENDS= ${PREFIX}/pgsql/lib/libpq.a:${PORTSDIR}/databases/postgresql -BROKEN= build - USE_PERL5= YES + +POSTGRES_HOME?= ${PREFIX}/pgsql +MAKE_ENV+= POSTGRES_HOME=${POSTGRES_HOME} MAN3= Pg.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} diff -urN p5-Pg/files/md5 p5-Pg.new/files/md5 --- p5-Pg/files/md5 Sun Sep 14 05:59:58 1997 +++ p5-Pg.new/files/md5 Wed Jul 21 03:37:29 1999 @@ -1 +1 @@ -MD5 (pgsql_perl5-1.6.1.tar.gz) = f8a91d9c7a8d0dac808cd9d15093a84d +MD5 (pgsql_perl5-1.8.1.tar.gz) = 56f663e8fbdcab0003ba6bbdabe8d142 diff -urN p5-Pg/patches/patch-aa p5-Pg.new/patches/patch-aa --- p5-Pg/patches/patch-aa Thu Sep 18 19:20:09 1997 +++ p5-Pg.new/patches/patch-aa Thu Jan 1 01:00:00 1970 @@ -1,19 +0,0 @@ ---- Makefile.PL.orig Tue Apr 29 15:29:26 1997 -+++ Makefile.PL Thu Sep 18 09:35:14 1997 -@@ -12,15 +12,7 @@ - print "Remember to actually read the README file !\n"; - die "\nYou didn't read the README file !\n" unless ($] >= 5.003); - --if (! $ENV{POSTGRESHOME}) { -- warn "\$POSTGRESHOME not defined. Searching for Postgres...\n"; -- foreach(qw(/usr/pgsql /usr/local/pgsql /usr/pgsql-6.1 /usr/local/pgsql-6.1)) { -- if (-d "$_/lib") { -- $ENV{POSTGRESHOME} = $_; -- last; -- } -- } --} -+$ENV{POSTGRESHOME} = "$ENV{PREFIX}/pgsql"; - - if ($ENV{POSTGRESHOME}) { - print "\nFound Postgres in $ENV{POSTGRESHOME}\n"; >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?199907210158.DAA13548>