pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Don't be fooled into thinking that the "...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb2b4ce7160c
branches:  trunk
changeset: 463653:fb2b4ce7160c
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Nov 23 06:06:02 2003 +0000

description:
Don't be fooled into thinking that the "-c" in "install -c" means to
interpret the libtool mode as "compile".

diffstat:

 mk/buildlink3/libtool.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 8796e7ebe1f0 -r fb2b4ce7160c mk/buildlink3/libtool.sh
--- a/mk/buildlink3/libtool.sh  Sun Nov 23 05:24:05 2003 +0000
+++ b/mk/buildlink3/libtool.sh  Sun Nov 23 06:06:02 2003 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: libtool.sh,v 1.6 2003/10/09 12:15:15 jlam Exp $
+# $NetBSD: libtool.sh,v 1.7 2003/11/23 06:06:02 jlam Exp $
 
 Xsed='@SED@ -e 1s/^X//'
 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
@@ -70,7 +70,7 @@
                mode="$optarg"
                ;;
        -*)
-               if $test -n "$nonopt"; then
+               if $test -n "$nonopt" -a "$mode" != "install"; then
                        case $arg in
                        -c) mode=compile ;;
                        esac



Home | Main Index | Thread Index | Old Index