summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-07-14 16:48:48 +0000
committeragc <agc@pkgsrc.org>1998-07-14 16:48:48 +0000
commit997da4ac6ee2f84cd43891d60e651ed260bfe7e8 (patch)
tree29ab9a3b30ab04fed311bc7e8b973424abb1c15a /mk
parent2303d338080b6232355bb7fdf75008debb25211e (diff)
downloadpkgsrc-997da4ac6ee2f84cd43891d60e651ed260bfe7e8.tar.gz
On NetBSD ports which don't support shared objects, comment out any
shared object names in the PLIST.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3c08d10ae1b..6211faa34ed 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.118 1998/07/14 15:53:54 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.119 1998/07/14 16:48:48 agc Exp $
#
# This file is in the public domain.
#
@@ -1114,6 +1114,10 @@ _PORT_USE: .USE
;; \
*) \
${ECHO_MSG} "No shared libraries for ${MACHINE_ARCH}"; \
+ for so in $$sos; do \
+ ${SED} -e "s|^$$so$$|@comment No shared objects - &|" ${PLIST} > ${PLIST}.tmp && \
+ ${MV} ${PLIST}.tmp ${PLIST}; \
+ done; \
;; \
esac; \
fi)