pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper Merge -D and the following word, so -D UNIX...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c699bc4cb3e3
branches:  trunk
changeset: 533209:c699bc4cb3e3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Sep 11 08:33:11 2007 +0000

description:
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:

 mk/wrapper/arg-source |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 37365bdff4da -r c699bc4cb3e3 mk/wrapper/arg-source
--- a/mk/wrapper/arg-source     Tue Sep 11 05:03:30 2007 +0000
+++ b/mk/wrapper/arg-source     Tue Sep 11 08:33:11 2007 +0000
@@ -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 @@
        ##############################################################
        # 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." ;;



Home | Main Index | Thread Index | Old Index