summaryrefslogtreecommitdiff
path: root/share/mk/bsd.port.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.port.mk')
-rw-r--r--share/mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 9f184f90966..8ce5316a0f8 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.52 1998/11/25 01:08:35 espie Exp $
+# $OpenBSD: bsd.port.mk,v 1.53 1998/11/27 10:51:54 form Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -1779,7 +1779,7 @@ plist: install
for f in `${MAKE} package-depends|sort -u`; do ${ECHO} "@pkgdep $$f"; done; \
for f in `find ${PREFIX} -newer ${INSTALL_PRE_COOKIE} -print 2> /dev/null`; do \
ff=`${ECHO} $$f | ${SED} -e 's|^${PREFIX}/||'`; \
- if [ -d $$f ]; then dirs="$$ff $$dirs"; \
+ if [ -d $$f -a ! -h $$f ]; then dirs="$$ff $$dirs"; \
else \
${ECHO} $$ff; \
if ${ECHO} $$f | ${GREP} -E -q -e '[^/]+\.so\.[0-9]+\.[0-9]+$$'; then \