dev-perl/Geo-IP: Fix get_libdir in global scope, bug #593372
authorKent Fredric <kentnl@gentoo.org>
Sat, 10 Sep 2016 11:29:21 +0000 (23:29 +1200)
committerKent Fredric <kentnl@gentoo.org>
Sat, 10 Sep 2016 11:29:38 +0000 (23:29 +1200)
Bug: https://bugs.gentoo.org/593372

Package-Manager: portage-2.3.0

dev-perl/Geo-IP/Geo-IP-1.450.0.ebuild
dev-perl/Geo-IP/Geo-IP-1.500.0.ebuild

index 7aad3108ab4828197ea238bbd90b419e50e0de3f..b0e2873aad979513f38b80fc0b035feab3d65ba2 100644 (file)
@@ -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
+}
index 88c72166662c7aa83a22789a95d6ff9991ca8dab..75b7722ae563c36a9ea81fb746cf8fc0864d4122 100644 (file)
@@ -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
+}