summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
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)