summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-12 21:21:08 +0000
committerjlam <jlam@pkgsrc.org>2004-11-12 21:21:08 +0000
commit8a7d3d2ec61f1182087f001475110daa022d715f (patch)
tree4bc80ae5dd81e953c6fa8b477d5496936f4b4a65 /mk/scripts
parentf298099c5e7a4953db70c55bad3641e3bd0c05c4 (diff)
downloadpkgsrc-8a7d3d2ec61f1182087f001475110daa022d715f.tar.gz
Don't expand .la files in PLISTs that are symlinks. The expansion should
only occur with the real .la file. This avoids the problem noted by Greg Troxel in: http://mail-index.netbsd.org/tech-pkg/2004/11/12/0018.html
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/print-la-libnames4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/print-la-libnames b/mk/scripts/print-la-libnames
index 2a2a71ada7e..a37a9459ead 100755
--- a/mk/scripts/print-la-libnames
+++ b/mk/scripts/print-la-libnames
@@ -1,6 +1,6 @@
# /bin/sh
#
-# $NetBSD: print-la-libnames,v 1.3 2004/10/05 22:34:07 jlam Exp $
+# $NetBSD: print-la-libnames,v 1.4 2004/11/12 21:21:08 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -56,7 +56,7 @@ do
*) lapath="./$la" ;;
esac
- if [ -r "$lapath" ]; then
+ if [ -r "$lapath" -a ! -h "$lapath" ]; then
if ${GREP} -q "libtool library file" "$lapath"; then
. "$lapath"
if [ "$installed" = "no" ]; then