ports/133976: [PATCH] devel/p5-IPC-Run3: simplify dependency
Yen-Ming Lee
leeym at FreeBSD.org
Fri Apr 24 17:20:05 UTC 2009
>Number: 133976
>Category: ports
>Synopsis: [PATCH] devel/p5-IPC-Run3: simplify 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 24 17:20:04 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:
- simplify dependency
- bump PORTREVISION
Port maintainer (clsung at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-IPC-Run3-0.042_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-IPC-Run3/Makefile,v
retrieving revision 1.18
diff -u -d -b -w -u -r1.18 Makefile
--- Makefile 14 Aug 2008 01:53:45 -0000 1.18
+++ Makefile 24 Apr 2009 17:12:40 -0000
@@ -6,6 +6,7 @@
PORTNAME= IPC-Run3
PORTVERSION= 0.042
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,9 +14,6 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= Run a subprocess in batch mode
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= IPC::Run3.3 \
@@ -25,4 +23,11 @@
IPC::Run3::ProfPP.3 \
IPC::Run3::ProfReporter.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>
--- p5-IPC-Run3-0.042_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list