pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Change "-I dir" to "-Idir" (same for -L/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b83113696cd5
branches:  trunk
changeset: 468389:b83113696cd5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Feb 13 16:49:53 2004 +0000

description:
Change "-I dir" to "-Idir" (same for -L/-R) so that the .transform.sed
script will understand these commands.

diffstat:

 mk/buildlink3/marshall |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 69c94fe0a628 -r b83113696cd5 mk/buildlink3/marshall
--- a/mk/buildlink3/marshall    Fri Feb 13 16:15:10 2004 +0000
+++ b/mk/buildlink3/marshall    Fri Feb 13 16:49:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: marshall,v 1.8 2004/02/09 04:35:12 jlam Exp $
+# $NetBSD: marshall,v 1.9 2004/02/13 16:49:53 jlam Exp $
 #
 # Handle cases where multiple consecutive arguments must be processed
 # together, either by merging the arguments or "skipping" the extra
@@ -6,6 +6,14 @@
 #
 case $arg in
 #
+# If we see "-I dir" (or -L/-R), we convert it to "-Idir" so that it may be
+# transformed correctly.
+#
+-[ILR])
+       arg="$arg$1"
+       shift
+       ;;
+#
 # Merge "-Wl,R -Wl,/path/to/dir" into a single argument
 # "-Wl,R/path/to/dir" and merge "-Wl,--rpath -Wl,/path/to/dir" into
 # "-Wl,--rpath,/path/to/dir" so that we can look them up in the cache.



Home | Main Index | Thread Index | Old Index