pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang Explicitly choose the library directory structure...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbf67e865690
branches:  trunk
changeset: 460253:fbf67e865690
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Aug 26 02:30:27 2003 +0000

description:
Explicitly choose the library directory structure.  Also create
${PREFIX}/share/mk before installing into it.

diffstat:

 lang/perl5/Makefile  |  4 +++-
 lang/perl58/Makefile |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 0804267f9b00 -r fbf67e865690 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Tue Aug 26 01:43:48 2003 +0000
+++ b/lang/perl5/Makefile       Tue Aug 26 02:30:27 2003 +0000
@@ -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+=       -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 @@
                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"
diff -r 0804267f9b00 -r fbf67e865690 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Tue Aug 26 01:43:48 2003 +0000
+++ b/lang/perl58/Makefile      Tue Aug 26 02:30:27 2003 +0000
@@ -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+=       -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 @@
                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"



Home | Main Index | Thread Index | Old Index