pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Make sure ${PREFIX}/bin exists before the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c998367e170a
branches:  trunk
changeset: 467697:c998367e170a
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Thu Feb 05 08:45:31 2004 +0000

description:
Make sure ${PREFIX}/bin exists before the perl executable is put there.
At least, I needed this for pkgviews installation.

Ok'ed by jlam.

diffstat:

 lang/perl58/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b8307cfa702f -r c998367e170a lang/perl58/Makefile
--- a/lang/perl58/Makefile      Thu Feb 05 08:27:59 2004 +0000
+++ b/lang/perl58/Makefile      Thu Feb 05 08:45:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/01/25 03:26:49 grant Exp $
+# $NetBSD: Makefile,v 1.33 2004/02/05 08:45:31 uebayasi Exp $
 
 # The following two variables should have empty values unless we're
 # building a perl snapshot or release candidate.
@@ -254,6 +254,7 @@
 
 post-install:
        ${RM} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL5_VERS}
+       ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC_PERL5} ${PREFIX}/bin/perl${PERL5_VERS}
        ${LN} -f ${PREFIX}/bin/perl${PERL5_VERS} ${PREFIX}/bin/perl
 .if !empty(_STRIPFLAG_INSTALL)



Home | Main Index | Thread Index | Old Index