Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2012 17:10:19 -0400 (EDT)
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/166432: [PATCH] www/p5-HTML-Shakan: add TEST_DEPENDS
Message-ID:  <201203262110.q2QLAJ5n040824@meatwad.mouf.net>
Resent-Message-ID: <201203262120.q2QLK7bu088172@freefall.freebsd.org>

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

>Number:         166432
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTML-Shakan: add TEST_DEPENDS
>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:   Mon Mar 26 21:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #14 r232426: Fri Mar  2 21:54:42
>Description:
- Add TEST_DEPENDS

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_3 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- p5-HTML-Shakan-0.15.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTML-Shakan/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	22 Nov 2011 01:11:25 -0000	1.8
+++ Makefile	26 Mar 2012 21:10:08 -0000
@@ -22,7 +22,9 @@
 	p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils \
 	p5-Mouse>=0.90,1:${PORTSDIR}/devel/p5-Mouse \
 	p5-parent>0:${PORTSDIR}/devel/p5-parent
-BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS:=	${RUN_DEPENDS}
+
+TEST_DEPENDS=	p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
 
 PERL_MODBUILD=	yes
 
@@ -47,4 +49,10 @@
 	HTML::Shakan::Widgets::Simple.3 \
 	HTML::Shakan::Widgets::jQueryUI.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+=	p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
--- p5-HTML-Shakan-0.15.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?201203262110.q2QLAJ5n040824>