diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-09-16 13:12:29 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-09-16 13:12:29 +0000 |
commit | f18f321bde36fc06ed517591d70a574ad39fe57e (patch) | |
tree | 741f834bf6c36c4f032d911bf46712c13eb7ac90 | |
parent | beaf664bed3400d74de01203f7c26f4f2c6ca606 (diff) | |
download | pkgsrc-f18f321bde36fc06ed517591d70a574ad39fe57e.tar.gz |
Allow '-l m' like '-lm' and update the comment for -l and -D
O.k. by jperkin@ and dholland@
-rw-r--r-- | mk/wrapper/arg-source | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/wrapper/arg-source b/mk/wrapper/arg-source index bc78af996a9..5f54788949c 100644 --- a/mk/wrapper/arg-source +++ b/mk/wrapper/arg-source @@ -1,4 +1,4 @@ -# $NetBSD: arg-source,v 1.19 2016/03/14 20:11:56 markd Exp $ +# $NetBSD: arg-source,v 1.20 2016/09/16 13:12:29 ryoon Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -50,9 +50,10 @@ while $test $# -gt 0; do arg="$1"; shift case $arg in ############################################################## - # Merge "-I /dir" into a single "-I/dir". Same for -L, -R. + # Merge "-I /dir" into a single "-I/dir". Same for -l, -D, + # -L and -R. ############################################################## - -[DILR]) + -[lDILR]) nextarg="$1"; shift case "$nextarg" in -*) msg_log $wrapperlog "WARNING: [arg-source] An $arg option must not be followed by another option, $nextarg." ;; |