app-admin/stow: Fix perl module installation directory
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 22 Oct 2016 21:31:52 +0000 (23:31 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 22 Oct 2016 21:32:53 +0000 (23:32 +0200)
Package-Manager: portage-2.3.2

app-admin/stow/stow-2.2.2-r1.ebuild

index 31449528f33c0b37fd296d00c51d3ca3ec9605cd..f0714cc61df9ff76e3a8aa1ff6fd4d425ed19be1 100644 (file)
@@ -4,6 +4,8 @@
 
 EAPI=6
 
+inherit perl-functions
+
 DESCRIPTION="GNU Stow is a symlink farm manager"
 HOMEPAGE="https://www.gnu.org/software/stow/"
 SRC_URI="mirror://gnu/stow/${P}.tar.gz"
@@ -19,3 +21,8 @@ DEPEND="dev-lang/perl
                dev-perl/Test-Output
        )"
 RDEPEND="dev-lang/perl:="
+
+src_configure() {
+       perl_set_version
+       econf "--with-pmdir=${VENDOR_LIB}"
+}