summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-26 02:30:27 +0000
committerjlam <jlam>2003-08-26 02:30:27 +0000
commit1f3484f94d7fcae48f5d8a02b123395544691526 (patch)
tree018fe91f495ec862a07fdd4bc77dad9cd078f3dd /lang/perl5
parent25e3b096b85f6d1add11a3b32c5320b263251a24 (diff)
downloadpkgsrc-1f3484f94d7fcae48f5d8a02b123395544691526.tar.gz
Explicitly choose the library directory structure. Also create
${PREFIX}/share/mk before installing into it.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index c5a2bd14445..985e381f906 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2003/07/17 21:45:05 grant Exp $
+# $NetBSD: Makefile,v 1.68 2003/08/26 02:30:27 jlam Exp $
.include "../../lang/perl5/Makefile.common"
@@ -26,6 +26,7 @@ CONFIGURE_ARGS+= -Dscriptdir="${PREFIX}/bin"
CONFIGURE_ARGS+= -Darchname="${MACHINE_ARCH}-${LOWER_OPSYS}"
CONFIGURE_ARGS+= -Doptimize="${CFLAGS}"
CONFIGURE_ARGS+= -Dcc="${CC:T}"
+CONFIGURE_ARGS+= -Dinstallstyle="lib/perl5"
CONFIGURE_ARGS+= -Ui_malloc
CONFIGURE_ARGS+= -Uusemymalloc
CONFIGURE_ARGS+= -Uinstallusrbinperl
@@ -183,6 +184,7 @@ post-install:
echo PERL5_SITEARCH=$$installsitearch >>${WRKDIR}/bsd.perl.mk
eval `${PERL5} -V:installarchlib 2>/dev/null` && \
echo PERL5_ARCHLIB=$$installarchlib >>${WRKDIR}/bsd.perl.mk
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/mk
${INSTALL_DATA} ${WRKDIR}/bsd.perl.mk ${PREFIX}/share/mk/bsd.perl.mk
.include "../../mk/bsd.pkg.mk"