diff options
author | 1998-11-27 10:51:54 +0000 | |
---|---|---|
committer | 1998-11-27 10:51:54 +0000 | |
commit | 22e4c1c0c68542e3fbcdaba17d4e02e41116b76f (patch) | |
tree | 3cf5abe2fbfc5d5b69cc0a8fb097e91595e9cd43 | |
parent | clarify Etherlink XXX names (diff) | |
download | wireguard-openbsd-22e4c1c0c68542e3fbcdaba17d4e02e41116b76f.tar.xz wireguard-openbsd-22e4c1c0c68542e3fbcdaba17d4e02e41116b76f.zip |
make plist: treat links to dirs as files, not dirs
-rw-r--r-- | share/mk/bsd.port.mk | 4 |
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 \ |