pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Teach the buildlink2 wrappers to respect...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b99c22239de
branches:  trunk
changeset: 460013:0b99c22239de
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 16 06:59:54 2003 +0000

description:
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:

 mk/buildlink2/libtool.sh |  5 +++--
 mk/buildlink2/wrapper.sh |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r a183c3c8b3f2 -r 0b99c22239de mk/buildlink2/libtool.sh
--- a/mk/buildlink2/libtool.sh  Sat Aug 16 06:56:17 2003 +0000
+++ b/mk/buildlink2/libtool.sh  Sat Aug 16 06:59:54 2003 +0000
@@ -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 @@
 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 -r a183c3c8b3f2 -r 0b99c22239de mk/buildlink2/wrapper.sh
--- a/mk/buildlink2/wrapper.sh  Sat Aug 16 06:56:17 2003 +0000
+++ b/mk/buildlink2/wrapper.sh  Sat Aug 16 06:59:54 2003 +0000
@@ -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 @@
 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}



Home | Main Index | Thread Index | Old Index