ports/121206: [PATCH] dns/p5-Net-Domain-TLD: fix dependency
Yen-Ming Lee
leeym at FreeBSD.org
Fri Feb 29 05:40:01 UTC 2008
>Number: 121206
>Category: ports
>Synopsis: [PATCH] dns/p5-Net-Domain-TLD: 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: Fri Feb 29 05:40:00 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:
- use CPAN macro
- fix dependency
- bump PORTREVISION
Port maintainer (tobez at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Net-Domain-TLD-1.67_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/p5-Net-Domain-TLD/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile 20 Dec 2007 09:20:59 -0000 1.6
+++ Makefile 29 Feb 2008 05:36:29 -0000
@@ -7,20 +7,22 @@
PORTNAME= Net-Domain-TLD
PORTVERSION= 1.67
+PORTREVISION= 1
CATEGORIES= dns perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Net
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tobez at FreeBSD.org
COMMENT= Look up and validate TLDs
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
-BUILD_DEPENDS= ${RUN_DEPENDS}
-BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-
PERL_CONFIGURE= yes
MAN3= Net::Domain::TLD.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Net-Domain-TLD-1.67_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list