diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-16 06:59:54 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-16 06:59:54 +0000 |
commit | c98b5b201d44dd608a66fdd98c4da41b05008e92 (patch) | |
tree | 03d818afa9ee21ed6bc6d717e70e9eba3dd1c013 /mk | |
parent | ed3839a1d9d1181cbf1316deff07226949dc669a (diff) | |
download | pkgsrc-c98b5b201d44dd608a66fdd98c4da41b05008e92.tar.gz |
Teach the buildlink2 wrappers to respect an environment variable
BUILDLINK_WRAPPER_LOG to specify the location of the wrapper log
(which defaults to ${BUILDLINK_DIR}/.wrapper.log).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/libtool.sh | 5 | ||||
-rw-r--r-- | mk/buildlink2/wrapper.sh | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mk/buildlink2/libtool.sh b/mk/buildlink2/libtool.sh index 1e5b20e76fa..ff2f247c30d 100644 --- a/mk/buildlink2/libtool.sh +++ b/mk/buildlink2/libtool.sh @@ -1,6 +1,6 @@ #!@BUILDLINK_SHELL@ # -# $NetBSD: libtool.sh,v 1.8 2002/12/26 17:08:57 jlam Exp $ +# $NetBSD: libtool.sh,v 1.9 2003/08/16 06:59:54 jlam Exp $ Xsed='@SED@ -e 1s/^X//' sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' @@ -15,7 +15,8 @@ cache="@_BLNK_WRAP_CACHE@" post_cache="@_BLNK_WRAP_POST_CACHE@" logic="@_BLNK_WRAP_LOGIC@" post_logic="@_BLNK_WRAP_POST_LOGIC@" -wrapperlog="@_BLNK_WRAP_LOG@" + +wrapperlog="${BUILDLINK_WRAPPER_LOG-@_BLNK_WRAP_LOG@}" libtool_fix_la="@_BLNK_LIBTOOL_FIX_LA@" libtool_do_install="@_BLNK_LIBTOOL_DO_INSTALL@" diff --git a/mk/buildlink2/wrapper.sh b/mk/buildlink2/wrapper.sh index 79e0b9ed893..bb4d78ae4e7 100644 --- a/mk/buildlink2/wrapper.sh +++ b/mk/buildlink2/wrapper.sh @@ -1,6 +1,6 @@ #!@BUILDLINK_SHELL@ # -# $NetBSD: wrapper.sh,v 1.7 2003/01/01 07:16:57 jlam Exp $ +# $NetBSD: wrapper.sh,v 1.8 2003/08/16 06:59:55 jlam Exp $ Xsed='@SED@ -e 1s/^X//' sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' @@ -15,7 +15,8 @@ cache="@_BLNK_WRAP_CACHE@" post_cache="@_BLNK_WRAP_POST_CACHE@" logic="@_BLNK_WRAP_LOGIC@" post_logic="@_BLNK_WRAP_POST_LOGIC@" -wrapperlog="@_BLNK_WRAP_LOG@" + +wrapperlog="${BUILDLINK_WRAPPER_LOG-@_BLNK_WRAP_LOG@}" updatecache=${BUILDLINK_UPDATE_CACHE-yes} cacheall=${BUILDLINK_CACHE_ALL-no} |