ports/52337: (update) net/p5-Geo-IP to 1.15

Mathieu Arnold m at absolight.net
Fri May 16 16:20:20 UTC 2003


>Number:         52337
>Category:       ports
>Synopsis:       (update) net/p5-Geo-IP to 1.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 09:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386


	
>Description:
Update to 1.15
Tweak so that it sill works with perl 5.00503
	
>How-To-Repeat:
	
>Fix:

	

--- p5-Geo-IP-1.15.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/p5-Geo-IP/Makefile,v
retrieving revision 1.10
diff -u -b -w -r1.10 Makefile
--- Makefile	2003/03/07 06:07:54	1.10
+++ Makefile	2003/05/16 16:13:18
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Geo-IP
-PORTVERSION=	1.13
+PORTVERSION=	1.15
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN} \
 		http://www.maxmind.com/download/geoip/api/perl/
@@ -19,9 +19,11 @@
 LIB_DEPENDS=	GeoIP.2:${PORTSDIR}/net/GeoIP
 
 PERL_CONFIGURE=	yes
-CONFIGURE_ARGS=	LIBS='-L${PREFIX}/lib' INC='-I${PREFIX}/include'
+CONFIGURE_ARGS=	LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include'
 
-MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 MAN3=		Geo::Mirror.3 Geo::IP.3 Geo::IP::Record.3
+
+post-patch:
+	@${PERL} -pi -e 's/^our (.*),(.*);$$/use vars qw$$1$$2;/' ${WRKSRC}/lib/Geo/Mirror.pm
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/p5-Geo-IP/distinfo,v
retrieving revision 1.2
diff -u -b -w -r1.2 distinfo
--- distinfo	2003/01/24 20:08:21	1.2
+++ distinfo	2003/05/16 16:13:18
@@ -1 +1 @@
-MD5 (Geo-IP-1.13.tar.gz) = ff95c2e7d027a96bcfb3ed2a302b0493
+MD5 (Geo-IP-1.15.tar.gz) = 983aa97781157f330d68c5e993113493
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/p5-Geo-IP/pkg-plist,v
retrieving revision 1.3
diff -u -b -w -r1.3 pkg-plist
--- pkg-plist	2003/01/24 20:08:21	1.3
+++ pkg-plist	2003/05/16 16:13:18
@@ -1,11 +1,11 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/Mirror.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP/Record.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP/Record.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/Geo/Mirror.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/IP.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Geo
--- p5-Geo-IP-1.15.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list