summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-11-23 06:06:02 +0000
committerjlam <jlam@pkgsrc.org>2003-11-23 06:06:02 +0000
commitbf955a9e88263bd86247dd4cb6a8094dc08daedd (patch)
tree560e7469fef005e4d5bc9e3c7927677a54bbbd03 /mk
parenta842e60d1252b9df10ddf461bacba382de058576 (diff)
downloadpkgsrc-bf955a9e88263bd86247dd4cb6a8094dc08daedd.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