pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper Fixed the "unknown command" error messages ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/303e35bb95b5
branches:  trunk
changeset: 518787:303e35bb95b5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Sep 17 18:46:00 2006 +0000

description:
Fixed the "unknown command" error messages for debug_log, which is a
variable, not a shell function.

diffstat:

 mk/wrapper/transform-aix-cc           |   6 +++---
 mk/wrapper/transform-ccc-cc           |  10 +++++-----
 mk/wrapper/transform-icc-cc           |  12 ++++++------
 mk/wrapper/transform-ido-cc           |  24 ++++++++++++------------
 mk/wrapper/transform-mipspro-cc       |   8 ++++----
 mk/wrapper/transform-mipspro-ucode-cc |  10 +++++-----
 mk/wrapper/transform-solaris-gcc      |   6 +++---
 mk/wrapper/transform-sunpro-cc        |  28 ++++++++++++++--------------
 mk/wrapper/transform-xlc-cc           |  10 +++++-----
 9 files changed, 57 insertions(+), 57 deletions(-)

diffs (truncated from 483 to 300 lines):

diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-aix-cc
--- a/mk/wrapper/transform-aix-cc       Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-aix-cc       Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-aix-cc,v 1.2 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-aix-cc,v 1.3 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -38,14 +38,14 @@
 case $arg in
 -H[0-9]*|-T[0-9]*|-b*)
        arg=-Wl,$arg
-       debug_log $wrapperlog "   (transform-aix-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-aix-cc) to: $arg"
        addtocache=yes
        ;;
 # AIX ld(1) uses -G to create shared libraries, and we must make sure
 # the runtime linker is used.
 -shared)
         arg="-Wl,-G -Wl,-brtl"
-        debug_log $wrapperlog "   (transform-aix-cc) to: $arg"
+        $debug_log $wrapperlog "   (transform-aix-cc) to: $arg"
         addtocache=yes
         split_arg=yes
         ;;
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-ccc-cc
--- a/mk/wrapper/transform-ccc-cc       Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-ccc-cc       Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-ccc-cc,v 1.2 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-ccc-cc,v 1.3 2006/09/17 18:46:00 rillig Exp $
 #
 
 case $arg in
@@ -8,7 +8,7 @@
 ######################################################################
 -Wl,-R*)
        arg="-Wl,-rpath,${arg#-Wl,-R}"
-       debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
        addtocache=yes
        ;;
 -W[LlSc],*)
@@ -16,17 +16,17 @@
        ;;
 -W*)
        arg=
-       debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
        addtocache=yes
        ;;
 -mieee)
        arg="-ieee"
-       debug_log $wrapperlog " (transform-ccc-cc) to: $arg"
+       $debug_log $wrapperlog "        (transform-ccc-cc) to: $arg"
        addtocache=yes
        ;;
 -g)
        arg="-g3"
-       debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ccc-cc) to: $arg"
        addtocache=yes
        ;;
 esac
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-icc-cc
--- a/mk/wrapper/transform-icc-cc       Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-icc-cc       Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-icc-cc,v 1.4 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-icc-cc,v 1.5 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -40,29 +40,29 @@
 ######################################################################
 -fexceptions|-ffast-math|-fomit-frame-pointer|-pedantic|-pipe|-s|-MP|-OPT:*)
        arg=
-       debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
        addtocache=yes
        ;;
 -finline-functions)
        arg=-Ob2
-       debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
        addtocache=yes
        ;;
 -funroll-all-loops|-funroll-loops)
        arg=-unroll
-       debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
        addtocache=yes
        ;;
 -O[4-9]|-O[12][0-9])
        arg=-O3
-       debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
        addtocache=yes
        ;;
 -Wall|-Wl,*)
        ;;
 -W*)
        arg=
-       debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-icc-cc) to: $arg"
        addtocache=yes
        ;;
 esac
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-ido-cc
--- a/mk/wrapper/transform-ido-cc       Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-ido-cc       Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-ido-cc,v 1.3 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-ido-cc,v 1.4 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -48,7 +48,7 @@
 ######################################################################
 -O3)
        arg=-O2
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -58,22 +58,22 @@
 ######################################################################
 -Wl,-R*)
        arg=`$echo "X$arg" | $Xsed -e "s|,|:|g" -e "s|^-Wl:-R|-Wl,-rpath,|"`
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 -Wl,-rpath,*)
        arg=`$echo "X$arg" | $Xsed -e "s|,|:|g" -e "s|^-Wl:-rpath:|-Wl,-rpath,|"`
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 -rpath*)
        arg=`$echo "X$arg" | $Xsed -e "s|,|:|g" -e "s|^-rpath.|-Wl,-rpath,|"`
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 -R*)
        arg=`$echo "X$arg" | $Xsed -e "s|,|:|g" -e "s|^-R|-Wl,-rpath,|"`
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -81,7 +81,7 @@
 ######################################################################
 -fsigned-char|-fno-unsigned-char)
        arg=-signed
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
 ;;
 ######################################################################
@@ -89,7 +89,7 @@
 ######################################################################
 -g)
        arg=-g3
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
 ;;
 ######################################################################
@@ -111,7 +111,7 @@
 ######################################################################
 -[WOfm]*|-pipe|-MM|-nostd*|--disable-shared|-non_shared|-n32)
        arg=
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -119,7 +119,7 @@
 ######################################################################
 -pg)
        arg=-p
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -128,7 +128,7 @@
 -static)
        arg="-B static"
        split_arg=yes
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -136,7 +136,7 @@
 ######################################################################
 -notall)
        arg=-none
-       debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-ido-cc) to: $arg"
        addtocache=yes
        ;;
 esac
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-mipspro-cc
--- a/mk/wrapper/transform-mipspro-cc   Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-mipspro-cc   Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-mipspro-cc,v 1.2 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-mipspro-cc,v 1.3 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,7 +47,7 @@
 ######################################################################
 -O*)
        arg=
-       debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -56,7 +56,7 @@
 ######################################################################
 -Wl,-R*)
        arg="-Wl,-rpath,${arg#-Wl,-R}"
-       debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -72,7 +72,7 @@
 ######################################################################
 -W*)
        arg=
-       debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-cc) to: $arg"
        addtocache=yes
        ;;
 esac
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-mipspro-ucode-cc
--- a/mk/wrapper/transform-mipspro-ucode-cc     Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-mipspro-ucode-cc     Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-mipspro-ucode-cc,v 1.2 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-mipspro-ucode-cc,v 1.3 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -46,7 +46,7 @@
 ######################################################################
 -O*)
        arg=
-       debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -55,7 +55,7 @@
 ######################################################################
 -Wl,-R*)
        arg="-Wl,-rpath,${arg#-Wl,-R}"
-       debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -70,7 +70,7 @@
 ######################################################################
 -W*)
        arg=
-       debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################
@@ -78,7 +78,7 @@
 ######################################################################
 -f[Pp][Ii][Cc])
        arg="-KPIC"
-       debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
+       $debug_log $wrapperlog "   (transform-mipspro-ucode-cc) to: $arg"
        addtocache=yes
        ;;
 esac
diff -r 4c24645136fe -r 303e35bb95b5 mk/wrapper/transform-solaris-gcc
--- a/mk/wrapper/transform-solaris-gcc  Sun Sep 17 18:21:10 2006 +0000
+++ b/mk/wrapper/transform-solaris-gcc  Sun Sep 17 18:46:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-solaris-gcc,v 1.3 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-solaris-gcc,v 1.4 2006/09/17 18:46:00 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -36,12 +36,12 @@
 # -Kpic to -fPIC.



Home | Main Index | Thread Index | Old Index