diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-05 09:57:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-05 09:57:53 +0000 |
commit | 991c843d4f090d8cf0279f779b85c9527bcece18 (patch) | |
tree | 8863345a3f2495b85e8632678db1d02404b87b52 /mk | |
parent | 062c4a0afe26ab5c38e2d60eabb80c3108a17895 (diff) | |
download | pkgsrc-991c843d4f090d8cf0279f779b85c9527bcece18.tar.gz |
Allow this to work with ccache by passing the full PATH through libtool.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 3 | ||||
-rw-r--r-- | mk/buildlink2/fake-la | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 6c81a68a6f6..a4d8370c174 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -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 @@ ${_BLNK_FAKE_LA}: ${.CURDIR}/../../mk/buildlink2/fake-la -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 --git a/mk/buildlink2/fake-la b/mk/buildlink2/fake-la index ab90850fd7b..52cbd9ff71d 100644 --- a/mk/buildlink2/fake-la +++ b/mk/buildlink2/fake-la @@ -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 @@ case $libname in 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 |