pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vcftools: Fix perl module install path



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri Feb 15 17:34:04 2019 -0600
Changeset:	6d48d7f0fa31f8b61896c41fd74fd78031aec174

Modified Files:
	vcftools/Makefile
	vcftools/PLIST

Log Message:
vcftools: Fix perl module install path

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6d48d7f0fa31f8b61896c41fd74fd78031aec174

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vcftools/Makefile | 3 +++
 vcftools/PLIST    | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/vcftools/Makefile b/vcftools/Makefile
index d99b112538..606d9f279b 100644
--- a/vcftools/Makefile
+++ b/vcftools/Makefile
@@ -17,8 +17,11 @@ USE_TOOLS+=	autoconf automake autoreconf gmake perl pkg-config
 GNU_CONFIGURE=	yes
 REPLACE_PERL=	src/perl/*
 
+CONFIGURE_ARGS+=	--with-pmdir=${PERL5_INSTALLVENDORLIB:S|^${PREFIX}/||}/vcftools
+
 pre-configure:
 	cd ${WRKSRC} && autoreconf -if
 
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/perl5/vars.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/vcftools/PLIST b/vcftools/PLIST
index 1162634f4c..18c5b87428 100644
--- a/vcftools/PLIST
+++ b/vcftools/PLIST
@@ -24,7 +24,7 @@ bin/vcf-to-tab
 bin/vcf-tstv
 bin/vcf-validator
 bin/vcftools
-lib/perl5/site_perl/5.26.0/FaSlice.pm
-lib/perl5/site_perl/5.26.0/Vcf.pm
-lib/perl5/site_perl/5.26.0/VcfStats.pm
+${PERL5_SUB_INSTALLVENDORLIB}/vcftools/FaSlice.pm
+${PERL5_SUB_INSTALLVENDORLIB}/vcftools/Vcf.pm
+${PERL5_SUB_INSTALLVENDORLIB}/vcftools/VcfStats.pm
 man/man1/vcftools.1


Home | Main Index | Thread Index | Old Index