summaryrefslogtreecommitdiff
path: root/mk/wrapper/wrapper.sh
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-06 20:33:50 +0000
committerrillig <rillig@pkgsrc.org>2007-02-06 20:33:50 +0000
commite9cbaa048c9b1ad71e2c190acfd1b4f8e9564926 (patch)
tree9f48ee730eee4fb288ccd5582e650a5f18a7d9d4 /mk/wrapper/wrapper.sh
parent7140af2a01d8a695b2ea43bc17a3f2035dbdcb07 (diff)
downloadpkgsrc-e9cbaa048c9b1ad71e2c190acfd1b4f8e9564926.tar.gz
Added a new variable wrapper_type to the wrappers, so that the
transformations can decide whether they happen in a C or a C++ compiler. Now the wrappers don't depend on the basename of the executed compiler wrapper anymore. Fixes PR 35555.
Diffstat (limited to 'mk/wrapper/wrapper.sh')
-rw-r--r--mk/wrapper/wrapper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/wrapper/wrapper.sh b/mk/wrapper/wrapper.sh
index 545602451fe..b03087d23f8 100644
--- a/mk/wrapper/wrapper.sh
+++ b/mk/wrapper/wrapper.sh
@@ -1,6 +1,6 @@
#! @WRAPPER_SHELL@
#
-# $NetBSD: wrapper.sh,v 1.13 2007/01/02 17:13:59 rillig Exp $
+# $NetBSD: wrapper.sh,v 1.14 2007/02/06 20:33:51 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -53,6 +53,7 @@ scan="@_WRAP_SCAN@"
transform="@_WRAP_TRANSFORM@"
transform_sed="@_WRAP_TRANSFORM_SED@"
wrapper_subr_sh="@_WRAP_SUBR_SH@"
+wrapper_type="@_WRAP_TYPE@"
wrapperlog="${WRAPPER_LOG-@_WRAP_LOG@}"
skip_transform="${WRAPPER_SKIP_TRANSFORM-@_WRAP_SKIP_TRANSFORM@}"
debug="${WRAPPER_DEBUG-@WRAPPER_DEBUG@}"