diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-26 21:38:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-26 21:38:03 +0000 |
commit | a92d5feb0012e1b966b9c6bd8d1a2fb24d8495fb (patch) | |
tree | f9fc9d85009ff79b6577d68782f4477205fecdba /mk | |
parent | 320e487b448ca02824eda192de7b3bb5c151c03d (diff) | |
download | pkgsrc-a92d5feb0012e1b966b9c6bd8d1a2fb24d8495fb.tar.gz |
Make _WRAPPEES into a public variable so that we can more easily create
wrapper scripts in package-land.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index 977b9fee07e..6a4dcf3944b 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.3 2004/09/25 20:38:21 jlam Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.4 2004/09/26 21:38:03 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -131,20 +131,24 @@ WRAPPER_VARS+= _WRAP_PATH # _WRAP_ALIASES.CC, _WRAP_ALIASES.LD, etc. are the other names by # which each wrapper may be invoked. # -_WRAPPEES+= AS -_WRAPPEES+= CC +WRAPPEES+= AS +WRAPPEES+= CC # XXX The following is a workaround until I can find time to fix this # XXX more completely (jlam). .if ${CPP:N-*} != ${CC} -_WRAPPEES+= CPP +WRAPPEES+= CPP .endif -_WRAPPEES+= CXX -_WRAPPEES+= FC +WRAPPEES+= CXX +WRAPPEES+= FC .if defined(USE_X11) IMAKE?= ${X11BASE}/bin/imake -_WRAPPEES+= IMAKE +WRAPPEES+= IMAKE .endif -_WRAPPEES+= LD +WRAPPEES+= LD + +.for _wrappee_ in ${WRAPPEES} +_WRAPPEES+= ${_wrappee_} +.endfor _WRAP_ALIASES.AS= as _WRAP_ALIASES.CC= cc gcc |