pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Be robust against the possibility that b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc52b25b7d67
branches: trunk
changeset: 471984:cc52b25b7d67
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Apr 01 21:21:13 2004 +0000
description:
Be robust against the possibility that buildlibdir isn't defined.
diffstat:
mk/buildlink3/libtool-post-logic | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 31af02447253 -r cc52b25b7d67 mk/buildlink3/libtool-post-logic
--- a/mk/buildlink3/libtool-post-logic Thu Apr 01 20:51:50 2004 +0000
+++ b/mk/buildlink3/libtool-post-logic Thu Apr 01 21:21:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: libtool-post-logic,v 1.4 2004/03/30 17:25:19 jlam Exp $
+# $NetBSD: libtool-post-logic,v 1.5 2004/04/01 21:21:13 jlam Exp $
case $arg in
#
@@ -72,7 +72,7 @@
ladir=`$dirname $arg`
ldir=`cd $ladir; $pwd`
buildlibdir=`. $ladir/$labase; $echo $buildlibdir`
- if $test "$ldir" != "$buildlibdir"; then
+ if $test -n "$buildlibdir" -a "$ldir" != "$buildlibdir"; then
arg="$buildlibdir/$labase"
$echo "*** [buildlink3] Warning: libtool replaced $ladir/$labase with $arg" >> $wrapperlog
$echo "*** [buildlink3] Warning: libtool replaced $ladir/$labase with $arg" 1>&2
Home |
Main Index |
Thread Index |
Old Index