ports/113164: databases/p5-DBD-PgSPI - remove 4.x workaround
Erwin Lansing
erwin at FreeBSD.org
Wed May 30 17:20:04 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list