dev-perl/pcsc-perl: remove get_libdir from global scope
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 23 Sep 2016 07:00:35 +0000 (10:00 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 23 Sep 2016 07:01:21 +0000 (10:01 +0300)
Bug: 593368

Package-Manager: portage-2.2.28

dev-perl/pcsc-perl/pcsc-perl-1.4.14.ebuild

index de6fb4d309fcd2f424e1f9da02455c1561a02e01..2bb345eeb641bb334d9727e27c2e5e7158b62040 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$
 
@@ -17,4 +17,6 @@ IUSE=""
 
 DEPEND=">=sys-apps/pcsc-lite-1.6.0"
 
-myconf="-I/usr/include/ -l/usr/$(get_libdir)"
+pkg_setup() {
+       myconf="-I/usr/include/ -l/usr/$(get_libdir)"
+}