ports/121625: [PATCH] comms/p5-SMS-Send: fix dependency
Yen-Ming Lee
leeym at FreeBSD.org
Tue Mar 11 19:50:02 UTC 2008
>Number: 121625
>Category: ports
>Synopsis: [PATCH] comms/p5-SMS-Send: 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 19:50:01 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 dependency
- bump PORTREVISION
Port maintainer (snowfly at yuntech.edu.tw) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-SMS-Send-0.05_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/comms/p5-SMS-Send/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 20 Feb 2008 10:17:03 -0000 1.4
+++ Makefile 11 Mar 2008 19:45:34 -0000
@@ -7,6 +7,7 @@
PORTNAME= SMS-Send
PORTVERSION= 0.05
+PORTREVISION= 1
CATEGORIES= comms perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,12 +15,9 @@
MAINTAINER= snowfly at yuntech.edu.tw
COMMENT= Driver-based API for sending SMS messages
-BUILD_DEPENDS= ${SITE_PERL}/Class/Adapter.pm:${PORTSDIR}/devel/p5-Class-Adapter \
- ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
- ${SITE_PERL}/Params/Util.pm:${PORTSDIR}/devel/p5-Params-Util \
- ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS+= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Class-Adapter>=0:${PORTSDIR}/devel/p5-Class-Adapter \
+ p5-Params-Util>=0.14:${PORTSDIR}/devel/p5-Params-Util
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -28,4 +26,10 @@
SMS::Send::Driver.3 \
SMS::Send::Test.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Module-Pluggable>=2.5:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>
--- p5-SMS-Send-0.05_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list