summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2016-09-10 23:29:21 +1200
committerKent Fredric <kentnl@gentoo.org>2016-09-10 23:29:38 +1200
commit152eca7e931665076927f8b33018ae05031ba68e (patch)
tree67f28362b758569e3f9ee3b2d7ddd294b376db63 /dev-perl/Geo-IP
parentmedia-gfx/displaycal: version bump (diff)
downloadgentoo-152eca7e931665076927f8b33018ae05031ba68e.tar.gz
gentoo-152eca7e931665076927f8b33018ae05031ba68e.tar.bz2
gentoo-152eca7e931665076927f8b33018ae05031ba68e.zip
dev-perl/Geo-IP: Fix get_libdir in global scope, bug #593372
Bug: https://bugs.gentoo.org/593372 Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-perl/Geo-IP')
-rw-r--r--dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild8
-rw-r--r--dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild6
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild b/dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild
index 7aad3108ab48..b0e2873aad97 100644
--- a/dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild
+++ b/dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,4 +18,8 @@ DEPEND="dev-libs/geoip"
RDEPEND="${DEPEND}"
SRC_TEST=do
-myconf="LIBS=-L/usr/$(get_libdir)"
+
+src_configure() {
+ myconf="LIBS=-L/usr/$(get_libdir)"
+ perl-module_src_configure
+}
diff --git a/dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild b/dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild
index 88c72166662c..75b7722ae563 100644
--- a/dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild
+++ b/dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild
@@ -18,4 +18,8 @@ DEPEND="dev-libs/geoip"
RDEPEND="${DEPEND}"
SRC_TEST=do
-myconf="LIBS=-L/usr/$(get_libdir)"
+
+src_configure() {
+ myconf="LIBS=-L/usr/$(get_libdir)"
+ perl-module_src_configure
+}