diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 1998-09-08 05:51:07 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 1998-09-08 05:51:07 +0000 |
commit | 84fce0cee3f71633b269d1877d7c2d46880657c1 (patch) | |
tree | 5f14f88ee28c2f515671dcf7c1cc051f7e0562c9 | |
parent | ed71f170aed8f176999a712295c75512826b91f2 (diff) |
don't generate @exec ranlib for .a files (plist target)
-rw-r--r-- | share/mk/bsd.port.mk | 6 |
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; \ |