Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 21:38:23 -0800 (PST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/121206: [PATCH] dns/p5-Net-Domain-TLD: fix dependency
Message-ID:  <200802290538.m1T5cNdo007182@db1.leeym.com>
Resent-Message-ID: <200802290540.m1T5e1MI038300@freefall.freebsd.org>

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

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



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