diff options
author | tv <tv@pkgsrc.org> | 1998-10-03 14:44:14 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-10-03 14:44:14 +0000 |
commit | e4214fe55d4fa26761289a7682dc9efacf6e193e (patch) | |
tree | fa54ebeb78d77936eb2c2f58b745e9c883fb96af /mk | |
parent | 7f620c4145aa965c348826a1f39283a5c41c068a (diff) | |
download | pkgsrc-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.mk | 4 |
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) |