summaryrefslogtreecommitdiff
path: root/lang/perl58
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/perl58
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/perl58')
-rw-r--r--lang/perl58/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 799732fca18..d25d820ba85 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/07/17 21:45:06 grant Exp $
+# $NetBSD: Makefile,v 1.18 2003/08/26 02:30:28 jlam Exp $
PERL5_SNAPSHOT= # empty
PERL5_VERS= 5.8.0
@@ -37,6 +37,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
@@ -215,6 +216,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
.if ${MACHINE_ARCH} == "alpha"