diff options
author | tv <tv@pkgsrc.org> | 2004-11-30 15:10:47 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-30 15:10:47 +0000 |
commit | b762c48867e6e73361e636b87e9549aedea853b9 (patch) | |
tree | 65b12fff9e8bb750ba9949099cb6ba21e50cb136 /mk/compiler.mk | |
parent | d6805004db4773e06f231f6d0fa63b00c54788c5 (diff) | |
download | pkgsrc-b762c48867e6e73361e636b87e9549aedea853b9.tar.gz |
merge from HEAD
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r-- | mk/compiler.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 848480f567e..110a38f5ddd 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.38.2.2 2004/11/30 15:06:34 tv Exp $ +# $NetBSD: compiler.mk,v 1.38.2.3 2004/11/30 15:10:47 tv Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -125,7 +125,11 @@ _COMPILER_STRIP_VARS= # empty # the PATH to use the correct executable. # .for _var_ in ${_COMPILER_STRIP_VARS} +. if empty(${_var_}:C/^/_asdf_/1:N_asdf_*) +${_var_}:= ${${_var_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//:T} +. else ${_var_}:= ${${_var_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//:T} ${${_var_}:C/^/_asdf_/1:N_asdf_*} +. endif .endfor .if defined(ABI) && !empty(ABI) |