diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-11 08:33:11 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-11 08:33:11 +0000 |
commit | 11762d0720702c6384e20e81e1cdfb0ae37a88ec (patch) | |
tree | 121b091dcac5ad687c968034af599414c1ed8897 /mk/wrapper | |
parent | fb10218d18e11ac4be444fc4f9a8bd29089fa58b (diff) | |
download | pkgsrc-11762d0720702c6384e20e81e1cdfb0ae37a88ec.tar.gz |
Merge -D and the following word, so -D UNIX -D WHATEVER doesn't get
transformed to -D UNIX WHATEVER (because the wrapper eliminates
duplicate arguments). Now it becomes -DUNIX -DWHATEVER. This fixes a
build problem reported in
http://mail-index.netbsd.org/pkgsrc-users/2007/09/10/0004.html.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/arg-source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/arg-source b/mk/wrapper/arg-source index 00d840bb304..bdf254e0f9b 100644 --- a/mk/wrapper/arg-source +++ b/mk/wrapper/arg-source @@ -1,4 +1,4 @@ -# $NetBSD: arg-source,v 1.13 2007/08/02 18:19:32 joerg Exp $ +# $NetBSD: arg-source,v 1.14 2007/09/11 08:33:11 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -52,7 +52,7 @@ while $test $# -gt 0; do ############################################################## # Merge "-I /dir" into a single "-I/dir". Same for -L, -R. ############################################################## - -[ILR]) + -[DILR]) nextarg="$1"; shift case "$nextarg" in -*) msg_log $wrapperlog "WARNING: [arg-source] An $arg option must not be followed by another option, $nextarg." ;; |