pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Teach the libtool wrapper about the "cle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7d276c22f36
branches:  trunk
changeset: 481047:a7d276c22f36
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Sep 24 20:44:28 2004 +0000

description:
Teach the libtool wrapper about the "clean" and "uninstall" modes, where
we don't append the BUIDLINK_LDFLAGS to the commandline.

diffstat:

 mk/buildlink3/scan-libtool |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 87acacb8ffc9 -r a7d276c22f36 mk/buildlink3/scan-libtool
--- a/mk/buildlink3/scan-libtool        Fri Sep 24 20:16:18 2004 +0000
+++ b/mk/buildlink3/scan-libtool        Fri Sep 24 20:44:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: scan-libtool,v 1.2 2004/09/22 17:56:31 jlam Exp $
+# $NetBSD: scan-libtool,v 1.3 2004/09/24 20:44:28 jlam Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -59,6 +59,9 @@
                continue
        fi
        case $arg in
+       --finish)
+               lt_mode="finish"
+               ;;
        --mode|-o)
                prevopt="$arg"
                ;;
@@ -115,10 +118,10 @@
        append_extra_args=yes
        ;;
 ######################################################################
-# We're doing libtool execution or installation, so just invoke the
-# real libtool with all of the given arguments.
+# We're doing libtool clean, execute, finish, install, or uninstall, so
+# just invoke the real libtool with all of the given arguments.
 ######################################################################
-execute|install)
+execute|finish|install|uninstall)
        msg_log $wrapperlog "<.> $cmd $@"
        exec $cmd "$@"
        ;;



Home | Main Index | Thread Index | Old Index