Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 18:43:48 +0200 (CEST)
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113164: databases/p5-DBD-PgSPI - remove 4.x workaround 
Message-ID:  <200705301643.l4UGhmQ9034910@bamse.staff.tdk.net>
Resent-Message-ID: <200705301720.l4UHK4Fg006062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113164
>Category:       ports
>Synopsis:       databases/p5-DBD-PgSPI - remove 4.x workaround
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 30 17:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD bamse.staff.tdk.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #3: Wed Dec 13 13:18:58 CET 2006 root@bamse.staff.tdk.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	

Perl 5.005_03 is no longer supported, so remove workaround for
DBI and DBD::Pg

>How-To-Repeat:
	
>Fix:

	

--- dbd-pgspi.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-DBD-PgSPI/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	8 Dec 2006 10:59:53 -0000	1.12
+++ Makefile	30 May 2007 16:42:14 -0000
@@ -18,7 +18,9 @@
 
 BUILD_DEPENDS=	${RUN_DEPENDS} \
 		${NONEXISTENT}:${PORTSDIR}/${POSTGRESQL_PORT}:configure
-RUN_DEPENDS=	${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl
+RUN_DEPENDS=	${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl \
+		${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+		${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
 
 USE_GMAKE=	yes
 USE_PGSQL=	yes
@@ -45,14 +47,6 @@
 PGSQL_VER=	${DEFAULT_PGSQL_VER}
 .endif
 
-.if ${PERL_LEVEL} < 500600
-RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 \
-		${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13
-.else
-RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
-		${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
-.endif
-
 CONFIGURE_ENV=	POSTGRES_HOME="`${PGSQL_WRKSRC_CMD}`/src" \
 	        LOCALBASE="${LOCALBASE}"
 
--- dbd-pgspi.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705301643.l4UGhmQ9034910>