From 84fce0cee3f71633b269d1877d7c2d46880657c1 Mon Sep 17 00:00:00 2001 From: Marco S Hyman Date: Tue, 8 Sep 1998 05:51:07 +0000 Subject: don't generate @exec ranlib for .a files (plist target) --- share/mk/bsd.port.mk | 6 ++---- 1 file 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; \ -- cgit v1.2.3