ports/133334: [PATCH] devel/p5-ExtUtils-ParseXS: update dependency

Yen-Ming Lee leeym at FreeBSD.org
Fri Apr 3 07:50:08 UTC 2009


>Number:         133334
>Category:       ports
>Synopsis:       [PATCH] devel/p5-ExtUtils-ParseXS: update dependency
>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 Apr 03 07:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- ExtUtils::CBuilder is shipped with perl-5.10, use conditional dependency instead
- bump PORTREVISION

Port maintainer (demon at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-ExtUtils-ParseXS-2.19_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-ExtUtils-ParseXS/Makefile,v
retrieving revision 1.11
diff -u -d -b -w -u -r1.11 Makefile
--- Makefile	21 Feb 2008 12:47:41 -0000	1.11
+++ Makefile	3 Apr 2009 07:42:42 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ExtUtils-ParseXS
 PORTVERSION=	2.19
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,11 +15,14 @@
 MAINTAINER=	demon at FreeBSD.org
 COMMENT=	Converts Perl XS code into C code
 
-BUILD_DEPENDS=	${SITE_PERL}/ExtUtils/CBuilder.pm:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	yes
 
 MAN3=		ExtUtils::ParseXS.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS+=	p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+.endif
+
+.include <bsd.port.post.mk>
--- p5-ExtUtils-ParseXS-2.19_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list