pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Allow this to work with ccache by passin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6569c2b938b1
branches:  trunk
changeset: 467706:6569c2b938b1
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 05 09:57:53 2004 +0000

description:
Allow this to work with ccache by passing the full PATH through libtool.

diffstat:

 mk/buildlink2/bsd.buildlink2.mk |  3 ++-
 mk/buildlink2/fake-la           |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r a6f4a636b82c -r 6569c2b938b1 mk/buildlink2/bsd.buildlink2.mk
--- a/mk/buildlink2/bsd.buildlink2.mk   Thu Feb 05 09:56:36 2004 +0000
+++ b/mk/buildlink2/bsd.buildlink2.mk   Thu Feb 05 09:57:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink2.mk,v 1.109 2004/02/04 01:13:04 jlam Exp $
+# $NetBSD: bsd.buildlink2.mk,v 1.110 2004/02/05 09:57:53 jlam Exp $
 #
 # An example package buildlink2.mk file:
 #
@@ -893,6 +893,7 @@
                -e "s|@LIBTOOL@|${BUILDLINK_LIBTOOL:Q}|g"               \
                -e "s|@MKDIR@|${MKDIR:Q}|g"                             \
                -e "s|@MV@|${MV:Q}|g"                                   \
+               -e "s|@PATH@|${PATH:Q}|g"                               \
                -e "s|@RM@|${RM:Q}|g"                                   \
                -e "s|@SED@|${SED:Q}|g"                                 \
                -e "s|@TEST@|${TEST:Q}|g"                               \
diff -r a6f4a636b82c -r 6569c2b938b1 mk/buildlink2/fake-la
--- a/mk/buildlink2/fake-la     Thu Feb 05 09:56:36 2004 +0000
+++ b/mk/buildlink2/fake-la     Thu Feb 05 09:57:53 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: fake-la,v 1.9 2003/12/30 12:09:27 gavan Exp $
+# $NetBSD: fake-la,v 1.10 2004/02/05 09:57:53 jlam Exp $
 
 AR="@AR@"
 AWK="@AWK@"
@@ -79,6 +79,7 @@
 esac
 
 if ${TEST} ! -f $tmpdir/inst/$libbase.la; then
+       PATH="@PATH@"; export PATH
        ${MKDIR} $tmpdir/inst
        cd $tmpdir
        ${ECHO} "static int i;" > nonempty.c    # create a nonempty input file



Home | Main Index | Thread Index | Old Index