summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-11-23 06:06:02 +0000
committerjlam <jlam>2003-11-23 06:06:02 +0000
commit34804ac2ad78e8fcec26af8a25aa4228882a19ca (patch)
tree560e7469fef005e4d5bc9e3c7927677a54bbbd03 /mk
parentf93f3f71a4130d0819ffc9b51faea8fa5076afd5 (diff)
downloadpkgsrc-34804ac2ad78e8fcec26af8a25aa4228882a19ca.tar.gz
Don't be fooled into thinking that the "-c" in "install -c" means to
interpret the libtool mode as "compile".
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/libtool.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/libtool.sh b/mk/buildlink3/libtool.sh
index 5710423b644..2b03927abf0 100644
--- a/mk/buildlink3/libtool.sh
+++ b/mk/buildlink3/libtool.sh
@@ -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 @@ for arg; do
mode="$optarg"
;;
-*)
- if $test -n "$nonopt"; then
+ if $test -n "$nonopt" -a "$mode" != "install"; then
case $arg in
-c) mode=compile ;;
esac