summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-10-03 14:44:14 +0000
committertv <tv@pkgsrc.org>1998-10-03 14:44:14 +0000
commite4214fe55d4fa26761289a7682dc9efacf6e193e (patch)
treefa54ebeb78d77936eb2c2f58b745e9c883fb96af /mk
parent7f620c4145aa965c348826a1f39283a5c41c068a (diff)
downloadpkgsrc-e4214fe55d4fa26761289a7682dc9efacf6e193e.tar.gz
Filter dlopen'ed (.so) shared objects from NOPIC systems, so that PLISTs
that include them will not need the "-mi/-md" split.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 244401fd032..8b6848471a6 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.169 1998/10/03 03:14:23 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.170 1998/10/03 14:44:14 tv Exp $
#
# This file is in the public domain.
#
@@ -1187,6 +1187,8 @@ _PORT_USE: .USE
${SED} -e "s|^$$so$$|@comment No shared objects - &|" ${PLIST} > ${PLIST}.tmp && \
${MV} ${PLIST}.tmp ${PLIST}; \
done; \
+ ${SED} -e "s|.*\.so$|@comment No shared objects - &|" ${PLIST} > ${PLIST}.tmp && \
+ ${MV} ${PLIST}.tmp ${PLIST}; \
;; \
esac; \
fi)