pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Also break up -R*:* into separate -R opt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9acdfbf18ca8
branches:  trunk
changeset: 467222:9acdfbf18ca8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 27 08:23:45 2004 +0000

description:
Also break up -R*:* into separate -R options.

diffstat:

 mk/buildlink3/buffer |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 44764902776b -r 9acdfbf18ca8 mk/buildlink3/buffer
--- a/mk/buildlink3/buffer      Tue Jan 27 08:12:12 2004 +0000
+++ b/mk/buildlink3/buffer      Tue Jan 27 08:23:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buffer,v 1.3 2004/01/07 17:40:36 jlam Exp $
+# $NetBSD: buffer,v 1.4 2004/01/27 08:23:45 jlam Exp $
 #
 # Fill the buffer if it's empty, and shift the arguments.  The next
 # argument checked by the cache and logic files is taken from the
@@ -17,15 +17,16 @@
        # Fill the buffers from $arg.
        #
        case $arg in
-       -Wl,-R*:*|-Wl,-rpath,*:*|-Wl,-rpath-link,*:*|\
+       -R*:*|-Wl,-R*:*|-Wl,-rpath,*:*|-Wl,-rpath-link,*:*|\
        -Wl,--rpath,*:*|-Wl,--rpath-link,*:*)
                #
-               # Change "-Wl,-R/path1:/path2:/path3" into
-               # "-Wl,-R/path1 -Wl,-R/path2 -Wl,-R/path3" so that
+               # Change "-<rpath_flag>/path1:/path2" into
+               # "-<rpath_flag>/path1 -<rpath_flag>/path2" so that
                # they can be checked correctly in the cache and logic
                # files.
                #
                case $arg in
+               -R*)                    R="-R" ;;
                -Wl,-R*)                R="-Wl,-R" ;;
                -Wl,-rpath,*)           R="-Wl,-rpath," ;;
                -Wl,-rpath-link,*)      R="-Wl,-rpath-link," ;;



Home | Main Index | Thread Index | Old Index