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 | f4afca78cce44ee00978d551d1eedaefe3149222 (patch) | |
tree | 121b091dcac5ad687c968034af599414c1ed8897 /mk | |
parent | 8fff38346b6477be0f1caa87098bea351d3dbab2 (diff) | |
download | pkgsrc-f4afca78cce44ee00978d551d1eedaefe3149222.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')
-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." ;; |