summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-09-17 18:46:00 +0000
committerrillig <rillig>2006-09-17 18:46:00 +0000
commit1f1eca82258be7ecb74a2c4af9feb76884a23e69 (patch)
treeacee3a07a989fbb470cf3d1a8203dd476369b02f /mk
parentf96c043ce06fc6ce58c5c4a6c59b7a7eaa6e44ba (diff)
downloadpkgsrc-1f1eca82258be7ecb74a2c4af9feb76884a23e69.tar.gz
Fixed the "unknown command" error messages for debug_log, which is a
variable, not a shell function.
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/transform-aix-cc6
-rw-r--r--mk/wrapper/transform-ccc-cc10
-rw-r--r--mk/wrapper/transform-icc-cc12
-rw-r--r--mk/wrapper/transform-ido-cc24
-rw-r--r--mk/wrapper/transform-mipspro-cc8
-rw-r--r--mk/wrapper/transform-mipspro-ucode-cc10
-rw-r--r--mk/wrapper/transform-solaris-gcc6
-rw-r--r--mk/wrapper/transform-sunpro-cc28
-rw-r--r--mk/wrapper/transform-xlc-cc10
9 files changed, 57 insertions, 57 deletions
diff --git a/mk/wrapper/transform-aix-cc b/mk/wrapper/transform-aix-cc
index b1f80817b4f..91ed313b1b6 100644
--- a/mk/wrapper/transform-aix-cc
+++ b/mk/wrapper/transform-aix-cc
@@ -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 --git a/mk/wrapper/transform-ccc-cc b/mk/wrapper/transform-ccc-cc
index 1d1197670c8..cb6a0026173 100644
--- a/mk/wrapper/transform-ccc-cc
+++ b/mk/wrapper/transform-ccc-cc
@@ -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 @@ case $arg in
######################################################################
-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 @@ case $arg in
;;
-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 --git a/mk/wrapper/transform-icc-cc b/mk/wrapper/transform-icc-cc
index 69a2671f75d..1e0162ec1e3 100644
--- a/mk/wrapper/transform-icc-cc
+++ b/mk/wrapper/transform-icc-cc
@@ -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 @@ case $arg in
######################################################################
-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 --git a/mk/wrapper/transform-ido-cc b/mk/wrapper/transform-ido-cc
index 82e9e1dba3a..1375d422542 100644
--- a/mk/wrapper/transform-ido-cc
+++ b/mk/wrapper/transform-ido-cc
@@ -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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-[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 @@ case $arg in
######################################################################
-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 @@ case $arg in
-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 @@ case $arg in
######################################################################
-notall)
arg=-none
- debug_log $wrapperlog " (transform-ido-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-ido-cc) to: $arg"
addtocache=yes
;;
esac
diff --git a/mk/wrapper/transform-mipspro-cc b/mk/wrapper/transform-mipspro-cc
index 1ada415b786..02ac4bd2a2d 100644
--- a/mk/wrapper/transform-mipspro-cc
+++ b/mk/wrapper/transform-mipspro-cc
@@ -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 @@ case $arg in
######################################################################
-O*)
arg=
- debug_log $wrapperlog " (transform-mipspro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-mipspro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -56,7 +56,7 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-W*)
arg=
- debug_log $wrapperlog " (transform-mipspro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-mipspro-cc) to: $arg"
addtocache=yes
;;
esac
diff --git a/mk/wrapper/transform-mipspro-ucode-cc b/mk/wrapper/transform-mipspro-ucode-cc
index 8beb3e76668..835a8d56d0f 100644
--- a/mk/wrapper/transform-mipspro-ucode-cc
+++ b/mk/wrapper/transform-mipspro-ucode-cc
@@ -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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 @@ case $arg in
######################################################################
-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 --git a/mk/wrapper/transform-solaris-gcc b/mk/wrapper/transform-solaris-gcc
index fb177e05f7e..0361276bc86 100644
--- a/mk/wrapper/transform-solaris-gcc
+++ b/mk/wrapper/transform-solaris-gcc
@@ -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 @@ case $arg in
# -Kpic to -fPIC.
-Kpic|-KPIC)
arg=-fPIC
- debug_log $wrapperlog " (transform-solaris-gcc) to: $arg"
+ $debug_log $wrapperlog " (transform-solaris-gcc) to: $arg"
addtocache=yes
;;
-mt) # (from SunPro)
arg=-threads
- debug_log $wrapperlog " (transform-solaris-gcc) to: $arg"
+ $debug_log $wrapperlog " (transform-solaris-gcc) to: $arg"
addtocache=yes
;;
esac
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc
index 24bd0acd0b7..7cfb02a73f7 100644
--- a/mk/wrapper/transform-sunpro-cc
+++ b/mk/wrapper/transform-sunpro-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.11 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-sunpro-cc,v 1.12 2006/09/17 18:46:00 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -41,7 +41,7 @@ case $arg in
######################################################################
-O[12345])
arg="-xO${arg#-O}"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -50,7 +50,7 @@ case $arg in
######################################################################
-O?*)
arg=
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -59,7 +59,7 @@ case $arg in
######################################################################
-Wl,-R*)
arg="${arg#-Wl,}"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -67,7 +67,7 @@ case $arg in
######################################################################
-Wl,-soname=*)
arg="-h${arg#-Wl,-soname=}"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -76,7 +76,7 @@ case $arg in
######################################################################
-Wl,--export-dynamic)
arg=
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -91,7 +91,7 @@ case $arg in
######################################################################
-W*)
arg=
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -99,7 +99,7 @@ case $arg in
######################################################################
-static)
arg="-Bstatic"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -107,7 +107,7 @@ case $arg in
######################################################################
--export-dynamic|-shared)
arg="-G"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -115,7 +115,7 @@ case $arg in
######################################################################
-f[Pp][Ii][Cc])
arg="-Kpic"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -123,7 +123,7 @@ case $arg in
######################################################################
-pthread)
arg="-mt -lpthread"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
split_arg=yes
;;
@@ -135,7 +135,7 @@ case $arg in
######################################################################
-fast)
arg="-fast -xnolibmopt"
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
split_arg=yes
;;
@@ -150,7 +150,7 @@ case $arg in
######################################################################
-f*)
arg=
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -158,7 +158,7 @@ case $arg in
######################################################################
-ansi|-pedantic|-pipe|-traditional)
arg=
- debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg"
addtocache=yes
;;
esac
diff --git a/mk/wrapper/transform-xlc-cc b/mk/wrapper/transform-xlc-cc
index ba11dd282b4..27ba4db08ec 100644
--- a/mk/wrapper/transform-xlc-cc
+++ b/mk/wrapper/transform-xlc-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-xlc-cc,v 1.7 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-xlc-cc,v 1.8 2006/09/17 18:46:00 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -46,14 +46,14 @@ case $arg in
######################################################################
-W*)
arg=
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
# xlc uses -qmkshrobj to create shared objects, and we also need to
# tell the linker to use a flat namespace and allow undefined symbols.
-dynamiclib)
arg="-qmkshrobj -Wl,-flat_namespace -Wl,-undefined -Wl,suppress"
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
split_arg=yes
;;
@@ -61,7 +61,7 @@ case $arg in
# the data section for PIC.
-fno-common|-fPIC)
arg=-qnocommon
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -69,7 +69,7 @@ case $arg in
######################################################################
-pipe|-ansi|-fno-gnu-keywords|-fstrict-prototypes|-no-cpp-precomp|-pedantic)
arg=
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
esac