diff options
author | Kent Fredric <kentnl@gentoo.org> | 2016-09-10 23:29:21 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2016-09-10 23:29:38 +1200 |
commit | 152eca7e931665076927f8b33018ae05031ba68e (patch) | |
tree | 67f28362b758569e3f9ee3b2d7ddd294b376db63 /dev-perl/Geo-IP | |
parent | media-gfx/displaycal: version bump (diff) | |
download | gentoo-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.ebuild | 8 | ||||
-rw-r--r-- | dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild | 6 |
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 +} |