summaryrefslogtreecommitdiff
path: root/security/libprelude
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-12-09 11:58:59 +0000
committerobache <obache@pkgsrc.org>2008-12-09 11:58:59 +0000
commit40a6e1781bff87af265924bc5f1de56ab5d73e5d (patch)
treea74f390bdad61f4a5edd8cb358cf30e7290c88cb /security/libprelude
parentfaf25c4381ceb8e0bf727333bf8936e82792b974 (diff)
downloadpkgsrc-40a6e1781bff87af265924bc5f1de56ab5d73e5d.tar.gz
Fixes perl module installation path, PR 40138 by Rumko.
Change to install into vendor and use packlist.
Diffstat (limited to 'security/libprelude')
-rw-r--r--security/libprelude/PLIST.perl4
-rw-r--r--security/libprelude/options.mk9
2 files changed, 5 insertions, 8 deletions
diff --git a/security/libprelude/PLIST.perl b/security/libprelude/PLIST.perl
deleted file mode 100644
index b73a125196c..00000000000
--- a/security/libprelude/PLIST.perl
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.perl,v 1.1 2006/08/23 11:34:59 shannonjr Exp $
-lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Prelude/.packlist
-lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Prelude/Prelude.bs
-lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Prelude/Prelude.so
diff --git a/security/libprelude/options.mk b/security/libprelude/options.mk
index cdc4a89600e..0e384287deb 100644
--- a/security/libprelude/options.mk
+++ b/security/libprelude/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2007/09/05 18:58:19 shannonjr Exp $
+# $NetBSD: options.mk,v 1.9 2008/12/09 11:58:59 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
PKG_SUPPORTED_OPTIONS= perl python
@@ -15,10 +15,11 @@ PKG_OPTIONS.libprelude?=
PLIST_SRC= ${PKGDIR}/PLIST
.if !empty(PKG_OPTIONS:Mperl)
-CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
+CONFIGURE_ARGS+= --with-perl=${PERL5:Q} --with-perl-installdirs=vendor
USE_TOOLS+= perl:run
-PLIST_SRC+= ${PKGDIR}/PLIST.perl
-.include "../../lang/perl5/buildlink3.mk"
+PERL5_PACKLIST= auto/Prelude/.packlist
+PERL5_CONFIGURE= no
+.include "../../lang/perl5/module.mk"
.else
CONFIGURE_ARGS+= --with-perl=no
.endif