summaryrefslogtreecommitdiff
path: root/share/mk/bsd.port.mk
diff options
context:
space:
mode:
authorOleg Safiullin <form@cvs.openbsd.org>1998-11-27 10:51:55 +0000
committerOleg Safiullin <form@cvs.openbsd.org>1998-11-27 10:51:55 +0000
commit7382760135ebefdfe58a035475575e29e28a27d4 (patch)
tree7a15f773e3e0f3355c2d7487c65dcc20508abfac /share/mk/bsd.port.mk
parent971697d7f06ccbbe1f73dbad19604f636daa0632 (diff)
make plist: treat links to dirs as files, not dirs
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 \