diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-22 17:56:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-22 17:56:31 +0000 |
commit | bfecc5b0c74319ef73ddf6f869ac48a2f43687da (patch) | |
tree | 8bccb3e8838c59c040d58ce7bfff77067d4a56e3 /mk/buildlink3/scan-libtool | |
parent | 633b829d397566bfcd909264c875caceaaf6f5d2 (diff) | |
download | pkgsrc-bfecc5b0c74319ef73ddf6f869ac48a2f43687da.tar.gz |
Add a toggle that determines whether we pass extra arguments or not. This
is intended to be toggled by a $scan file. Simplify buildlink3 by removing
_BLNK_LIBTOOL_LDFLAGS and just setting _WRAP_EXTRA_ARGS.* like all of the
other wrappers.
Diffstat (limited to 'mk/buildlink3/scan-libtool')
-rw-r--r-- | mk/buildlink3/scan-libtool | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/buildlink3/scan-libtool b/mk/buildlink3/scan-libtool index ae6bd258940..7525de498c9 100644 --- a/mk/buildlink3/scan-libtool +++ b/mk/buildlink3/scan-libtool @@ -1,4 +1,4 @@ -# $NetBSD: scan-libtool,v 1.1 2004/09/21 15:01:41 jlam Exp $ +# $NetBSD: scan-libtool,v 1.2 2004/09/22 17:56:31 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -112,7 +112,7 @@ unwrap) # archives. ###################################################################### link) - set -- "$@" @_BLNK_LIBTOOL_LDFLAGS@ + append_extra_args=yes ;; ###################################################################### # We're doing libtool execution or installation, so just invoke the @@ -122,4 +122,7 @@ execute|install) msg_log $wrapperlog "<.> $cmd $@" exec $cmd "$@" ;; +*) + append_extra_args=no + ;; esac |