pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk do-shlib-handling fix for Darwin: check if the ".so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7cae1695ba71
branches: trunk
changeset: 461336:7cae1695ba71
user: danw <danw%pkgsrc.org@localhost>
date: Sun Sep 14 16:41:30 2003 +0000
description:
do-shlib-handling fix for Darwin: check if the ".so" file actually exists
before renaming it to ".dylib" in the PLIST, since if it's a dynamic module,
it actually will be a ".so"
diffstat:
mk/bsd.pkg.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r ca3a319c8e47 -r 7cae1695ba71 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Sep 14 16:30:34 2003 +0000
+++ b/mk/bsd.pkg.mk Sun Sep 14 16:41:30 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1283 2003/09/14 15:32:30 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1284 2003/09/14 16:41:30 danw Exp $
#
# This file is in the public domain.
#
@@ -2761,8 +2761,11 @@
next \
} \
/.*\/lib[^\/]+\.so$$/ { \
+ lines[NR] = $$0; \
+ if (system("${TEST} -e ${PREFIX}/" $$0) == 0) { \
+ next; \
+ } \
libtool_release($$0); \
- lines[NR] = $$0; \
links[linkc++] = $$0; \
if (sub("-[^-]+\.so$$", "\.so")) { \
links[linkc++] = $$0; \
Home |
Main Index |
Thread Index |
Old Index