ports/166759: [patch] devel/p5-Module-ExtractUse: fix tests
Mel Flynn
rflynn at acsalaska.net
Sun Apr 8 16:30:22 UTC 2012
>Number: 166759
>Category: ports
>Synopsis: [patch] devel/p5-Module-ExtractUse: fix tests
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 08 16:30:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Mel Flynn
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel at datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64
>Description:
Tests fail because of missing test dependencies.
>How-To-Repeat:
cd /usr/ports/devel/p5-Module-ExtractUse
make build
cd `make -V WRKSRC`
make test
>Fix:
While in here use := for BUILD_DEPENDS assignment and change SITE_PERL based
dependency to pkg_info based.
--- devel__p5-Module-ExtractUse.patch begins here ---
diff -urN --exclude CVS --exclude '*~' --exclude '.#*' --exclude '*.orig' --exclude '*.rej' devel/p5-Module-ExtractUse/Makefile /usr/ports/devel/p5-Module-ExtractUse/Makefile
--- devel/p5-Module-ExtractUse/Makefile.orig 2008-05-01 05:58:14.000000000 -0800
+++ devel/p5-Module-ExtractUse/Makefile 2012-04-08 08:05:29.000000000 -0800
@@ -14,9 +14,11 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= Find out what CPAN modules are used
-RUN_DEPENDS= ${SITE_PERL}/Pod/Strip.pm:${PORTSDIR}/textproc/p5-Pod-Strip \
+RUN_DEPENDS= p5-Pod-Strip>=0:${PORTSDIR}/textproc/p5-Pod-Strip \
p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent
-BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+ p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require
PERL_MODBUILD= yes
--- devel__p5-Module-ExtractUse.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list