Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 07:44:00 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/99505: [PATCH] dns/p5-Net-Domain-TLD: unbreak under old perl
Message-ID:  <20060626234400.4B17DB29DF2@utopia.leeym.com>
Resent-Message-ID: <200606270010.k5R0AIWe001098@freefall.freebsd.org>

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

>Number:         99505
>Category:       ports
>Synopsis:       [PATCH] dns/p5-Net-Domain-TLD: unbreak under old perl
>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 Jun 27 00:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Jun 18 11:24:48 CST 2006
>Description:
- unbreak under old perl
- refine COMMENT
- correct dependencies

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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Net-Domain-TLD-1.65.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/p5-Net-Domain-TLD/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	27 Jan 2006 07:38:37 -0000	1.3
+++ Makefile	26 Jun 2006 23:43:00 -0000
@@ -13,10 +13,11 @@
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	tobez@FreeBSD.org
-COMMENT=	Net::Domain::TLD - look up and validate TLDs
+COMMENT=	Look up and validate TLDs
 
-BUILD_DEPENDS=	${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize
-RUN_DEPENDS=	${BUILD_DEPENDS}
+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
 
@@ -25,7 +26,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500600
-IGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+post-patch:
+	${PERL} -pi -e 's/^\s*our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+		-e 's/.*warnings.*//' ${WRKSRC}/lib/Net/Domain/TLD.pm
 .endif
 
 .include <bsd.port.post.mk>
--- p5-Net-Domain-TLD-1.65.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?20060626234400.4B17DB29DF2>