pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Use the new work log format used by buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a664449ab541
branches:  trunk
changeset: 467695:a664449ab541
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 05 08:27:18 2004 +0000

description:
Use the new work log format used by buildlink3.  Lines beginning with
"[*]" are the untransformed command lines, and the ones beginning with
"<.>" are the ones that are actually executed.

diffstat:

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

diffs (58 lines):

diff -r d5923ebebde0 -r a664449ab541 mk/buildlink2/libtool.sh
--- a/mk/buildlink2/libtool.sh  Thu Feb 05 08:00:08 2004 +0000
+++ b/mk/buildlink2/libtool.sh  Thu Feb 05 08:27:18 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: libtool.sh,v 1.10 2003/09/02 06:59:51 jlam Exp $
+# $NetBSD: libtool.sh,v 1.11 2004/02/05 08:27:18 jlam Exp $
 
 Xsed='@SED@ -e 1s/^X//'
 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
@@ -34,6 +34,9 @@
 WRKDIR="@WRKDIR@"
 WRKSRC="@WRKSRC@"
 
+original_cmd="$0 $@"
+$echo [*] $original_cmd >> $wrapperlog
+
 cmd="@WRAPPEE@"
 lafile=
 case "$1" in
@@ -86,7 +89,7 @@
 @_BLNK_WRAP_ENV@
 @_BLNK_WRAP_SANITIZE_PATH@
 
-$echo $cmd >> $wrapperlog
+$echo "<.>" $cmd >> $wrapperlog
 eval $cmd
 wrapper_result=$?
 
diff -r d5923ebebde0 -r a664449ab541 mk/buildlink2/wrapper.sh
--- a/mk/buildlink2/wrapper.sh  Thu Feb 05 08:00:08 2004 +0000
+++ b/mk/buildlink2/wrapper.sh  Thu Feb 05 08:27:18 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: wrapper.sh,v 1.9 2003/09/02 06:59:52 jlam Exp $
+# $NetBSD: wrapper.sh,v 1.10 2004/02/05 08:27:18 jlam Exp $
 
 Xsed='@SED@ -e 1s/^X//'
 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
@@ -30,6 +30,9 @@
 WRKDIR="@WRKDIR@"
 WRKSRC="@WRKSRC@"
 
+original_cmd="$0 $@"
+$echo [*] $original_cmd >> $wrapperlog
+
 cmd="@WRAPPEE@"
 while $test $# -gt 0; do
        arg="$1"; shift
@@ -48,5 +51,5 @@
 @_BLNK_WRAP_ENV@
 @_BLNK_WRAP_SANITIZE_PATH@
 
-$echo $cmd >> $wrapperlog
+$echo "<.>" $cmd >> $wrapperlog
 eval exec $cmd



Home | Main Index | Thread Index | Old Index