ports/121603: [PATCH] devel/p5-Test-Base: fix dependency
Yen-Ming Lee
leeym at FreeBSD.org
Tue Mar 11 15:20:04 UTC 2008
>Number: 121603
>Category: ports
>Synopsis: [PATCH] devel/p5-Test-Base: fix 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: Tue Mar 11 15:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>Description:
- fix conditional dependency of dual-life modules
Port maintainer (tobez at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Test-Base-0.54_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Test-Base/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile 21 Aug 2007 08:30:14 -0000 1.10
+++ Makefile 11 Mar 2008 15:12:23 -0000
@@ -7,19 +7,20 @@
PORTNAME= Test-Base
PORTVERSION= 0.54
+PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Test
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tobez at FreeBSD.org
COMMENT= Test::Base - A Data Driven Testing Framework
-BUILD_DEPENDS= \
+RUN_DEPENDS= p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install \
p5-Spiffy>=0.30:${PORTSDIR}/devel/p5-Spiffy \
- p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \
- p5-Test-Simple>=0.62:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
+ p5-Text-Diff>=0:${PORTSDIR}/textproc/p5-Text-Diff \
+ p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -27,4 +28,15 @@
Test::Base::Filter.3 \
Module::Install::TestBase.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Filter>=0:${PORTSDIR}/devel/p5-Filter \
+ p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.if ${PERL_LEVEL} < 500808
+RUN_DEPENDS+= p5-Test-Simple>=0.62:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Test-Base-0.54_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list