Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 08:30:00 -0800 (AKDT)
From:      Mel Flynn <rflynn@acsalaska.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Steve Wills <swills@FreeBSD.org>, Maintainer <clsung@FreeBSD.org>
Subject:   ports/166759: [patch] devel/p5-Module-ExtractUse: fix tests
Message-ID:  <201204081630.q38GU0PK091642@datakitty.lan.rachie.is-a-geek.net>
Resent-Message-ID: <201204081630.q38GULNT068190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204081630.q38GU0PK091642>