commit: 152eca7e931665076927f8b33018ae05031ba68e Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Sat Sep 10 11:29:21 2016 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Sat Sep 10 11:29:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152eca7e
dev-perl/Geo-IP: Fix get_libdir in global scope, bug #593372 Bug: https://bugs.gentoo.org/593372 Package-Manager: portage-2.3.0 dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild | 8 ++++++-- 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 7aad310..b0e2873 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 88c7216..75b7722 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 +}