pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/scripts Check for presence of the libname listed in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/459abddbefbb
branches: trunk
changeset: 481501:459abddbefbb
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Oct 05 22:34:07 2004 +0000
description:
Check for presence of the libname listed in the libtool archive before
outputting it to stdout.
diffstat:
mk/scripts/print-la-libnames | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 39c9e2bd4b96 -r 459abddbefbb mk/scripts/print-la-libnames
--- a/mk/scripts/print-la-libnames Tue Oct 05 22:12:00 2004 +0000
+++ b/mk/scripts/print-la-libnames Tue Oct 05 22:34:07 2004 +0000
@@ -1,6 +1,6 @@
# /bin/sh
#
-# $NetBSD: print-la-libnames,v 1.2 2004/09/21 17:54:38 jlam Exp $
+# $NetBSD: print-la-libnames,v 1.3 2004/10/05 22:34:07 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -64,7 +64,11 @@
exit 1
fi
for lib in $library_names $old_library; do
- ${ECHO} "$dir$lib"
+ libpath="$dir$lib"
+ if [ ! -f "$libpath" ]; then
+ ${ECHO} 1>&2 "$0: \`$libpath' was not found"
+ fi
+ ${ECHO} "$libpath"
done
fi
else
Home |
Main Index |
Thread Index |
Old Index