aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-02 15:18:17 +0800
committerkris <kris@FreeBSD.org>2002-10-02 15:18:17 +0800
commit0ec407e165d2e5bace8cb3ff293c557e72a971b3 (patch)
treebb2e461a78bb1b4745b43567248b717fe8b7ae9c /Mk
parent800f42168aa62730d2b90f9d207447179d01f553 (diff)
downloadfreebsd-ports-gnome-0ec407e165d2e5bace8cb3ff293c557e72a971b3.tar.gz
freebsd-ports-gnome-0ec407e165d2e5bace8cb3ff293c557e72a971b3.tar.zst
freebsd-ports-gnome-0ec407e165d2e5bace8cb3ff293c557e72a971b3.zip
Fix installation of +MTREE_DIRS introduced in r1.424
Submitted by: sobomax
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 6cc856b5b722..9b03bfcd2a79 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3461,10 +3461,8 @@ fake-pkg:
done; \
fi
.if !defined(NO_MTREE)
- @if [ ! -d ${PKG_DBDIR}/${PKGNAME} ]; then \
- if [ -f ${MTREE_FILE} ]; then \
- ${CP} ${MTREE_FILE} ${PKG_DBDIR}/${PKGNAME}/+MTREE_DIRS; \
- fi; \
+ @if [ -f ${MTREE_FILE} ]; then \
+ ${CP} ${MTREE_FILE} ${PKG_DBDIR}/${PKGNAME}/+MTREE_DIRS; \
fi
.endif
@if [ -e /tmp/${PKGNAME}-required-by ]; then \