diff --git a/net/p5-Geo-IP/Makefile b/net/p5-Geo-IP/Makefile index 24dc7c6f2c2..4d68dc9233f 100644 --- a/net/p5-Geo-IP/Makefile +++ b/net/p5-Geo-IP/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.25 2013/03/11 11:35:50 espie Exp $ +# $OpenBSD: Makefile,v 1.26 2014/03/18 17:56:56 sthen Exp $ SHARED_ONLY= Yes COMMENT= look up country by IP address/hostname MODULES= cpan -DISTNAME= Geo-IP-1.40 +DISTNAME= Geo-IP-1.43 CPAN_AUTHOR= BORISZ CATEGORIES= net geo @@ -21,4 +21,8 @@ CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include' MODCPAN_EXAMPLES= Yes MODCPAN_EXAMPLES_DIST= example +pre-patch: + perl -pi -e 's,/usr/local/share/GeoIP,${LOCALSTATEDIR}/db/GeoIP,g' \ + ${WRKSRC}/lib/Geo/IP.pm ${WRKSRC}/example/*.pl + .include diff --git a/net/p5-Geo-IP/distinfo b/net/p5-Geo-IP/distinfo index 8a46537921c..8ffe0eee678 100644 --- a/net/p5-Geo-IP/distinfo +++ b/net/p5-Geo-IP/distinfo @@ -1,2 +1,2 @@ -SHA256 (Geo-IP-1.40.tar.gz) = yki6vT6UTLG8XKxW9hjJ+U86Mp3ScW1rSbZYriiEirM= -SIZE (Geo-IP-1.40.tar.gz) = 111898 +SHA256 (Geo-IP-1.43.tar.gz) = WHqwJuN31gnhzgBXQ5zZD1eEng+qOHE6XRnun4ll9Vw= +SIZE (Geo-IP-1.43.tar.gz) = 112349