ports/113731: databases/p5-DBIx-ContextualFetch remove 4.x workaround

Erwin Lansing erwin at bamse.staff.tdk.net
Fri Jun 15 23:30:04 UTC 2007


>Number:         113731
>Category:       ports
>Synopsis:       databases/p5-DBIx-ContextualFetch 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:   Fri Jun 15 23:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bamse.staff.tdk.net 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Sat May 26 14:57:41 CEST 2007 root at bamse.staff.tdk.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

Remove 4.x workaround

>How-To-Repeat:
	
>Fix:

	

--- context.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-DBIx-ContextualFetch/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	30 Sep 2005 16:39:15 -0000	1.4
+++ Makefile	15 Jun 2007 23:19:42 -0000
@@ -15,28 +15,17 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Add contextual fetches to DBI
 
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+BUILD_DEPENDS=	${RUN_DEPENDS}
+
 PERL_CONFIGURE=	yes
 
 MAN3=		DBIx::ContextualFetch.3
 
 .include <bsd.port.pre.mk>
 
-.if ${PERL_LEVEL} < 500600
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-.else
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-.endif
-
-BUILD_DEPENDS=	${RUN_DEPENDS}
-
 .if ${PERL_LEVEL} < 500702
 BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 .endif
 
-.if ${PERL_LEVEL} < 500600
-post-patch:
-	${PERL} -pi -e '$$_="" if /^use warnings/;' \
-		${WRKSRC}/lib/DBIx/ContextualFetch.pm
-.endif
-
 .include <bsd.port.post.mk>
--- context.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list