summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>1998-09-08 05:51:06 +0000
committermarc <marc@openbsd.org>1998-09-08 05:51:06 +0000
commit4deab9ea16346bf78949f87e8a7ce6b1038661eb (patch)
tree56936b51a4c3b6e20044b8b1a893ec1afe020787
parento hme get ifmedia support (diff)
downloadwireguard-openbsd-4deab9ea16346bf78949f87e8a7ce6b1038661eb.tar.xz
wireguard-openbsd-4deab9ea16346bf78949f87e8a7ce6b1038661eb.zip
don't generate @exec ranlib for .a files (plist target)
-rw-r--r--share/mk/bsd.port.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 8d30895a200..ebcfee54b46 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
-# $OpenBSD: bsd.port.mk,v 1.44 1998/09/07 22:33:19 marc Exp $
+# $OpenBSD: bsd.port.mk,v 1.45 1998/09/08 05:51:06 marc Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -1699,9 +1699,7 @@ plist: install
if [ -d $$f ]; then dirs="$$ff $$dirs"; \
else \
${ECHO} $$ff; \
- if ${ECHO} $$f | ${GREP} -E -q -e '[^/]+\.a$$'; then \
- ${ECHO} '@exec ranlib %D/%F'; \
- elif ${ECHO} $$f | ${GREP} -E -q -e '[^/]+\.so\.[0-9]+\.[0-9]+$$'; then \
+ if ${ECHO} $$f | ${GREP} -E -q -e '[^/]+\.so\.[0-9]+\.[0-9]+$$'; then \
ld="$$LDCONFIG `${DIRNAME} $$f`"; \
fi; \
fi; \