pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper Forgot the strip the comma when removing "-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96988d1a3527
branches:  trunk
changeset: 495435:96988d1a3527
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jun 09 17:06:21 2005 +0000

description:
Forgot the strip the comma when removing "-Wl," from the the next
argument during argument merging.

diffstat:

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

diffs (18 lines):

diff -r c71dfd95b095 -r 96988d1a3527 mk/wrapper/arg-source
--- a/mk/wrapper/arg-source     Thu Jun 09 17:01:11 2005 +0000
+++ b/mk/wrapper/arg-source     Thu Jun 09 17:06:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: arg-source,v 1.6 2005/06/08 05:54:17 jlam Exp $
+# $NetBSD: arg-source,v 1.7 2005/06/09 17:06:21 jlam Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -93,7 +93,7 @@
                -Wl,-rpath-link)        R="-Wl,-rpath-link," ;; 
                -Wl,--rpath)            R="-Wl,--rpath," ;;
                esac
-               nextarg="${nextarg#-Wl}"
+               nextarg="${nextarg#-Wl,}"
                case $nextarg in
                *:*)
                        save_IFS="${IFS}"; IFS=":"



Home | Main Index | Thread Index | Old Index