diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-04 15:31:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-04 15:31:35 +0000 |
commit | d1d0613d96c7ca02c1fc2869108a54d9ab704c9d (patch) | |
tree | e8419ea3e02928135583a4a5190b0d26d69b6a5f /Mk | |
parent | 118351a27fa215198960b4156bb7f3917c513c10 (diff) | |
download | ports-d1d0613d96c7ca02c1fc2869108a54d9ab704c9d.tar.gz ports-d1d0613d96c7ca02c1fc2869108a54d9ab704c9d.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.stage.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.stage.mk b/Mk/bsd.stage.mk index 5dfebc70403f..7b8222c5381f 100644 --- a/Mk/bsd.stage.mk +++ b/Mk/bsd.stage.mk @@ -119,10 +119,14 @@ check-orphans: stage *) ${ECHO_CMD} $$cwd/$$line ;; \ esac ; \ done < ${TMPPLIST} > ${WRKDIR}/.expanded-plist +.if !empty(MTREE_FILE) @{ ${ECHO_CMD} "#mtree"; ${CAT} ${MTREE_FILE}; } | ${TAR} tf - | \ awk '{ sub(/^\.$$/, "", $$1); \ if ($$1 == "") print "${PREFIX}"; else print "${PREFIX}/"$$1; }' \ > ${WRKDIR}/.mtree +.else + @: > ${WRKDIR}/.mtree +.endif @a=${PREFIX}; \ while :; do \ a=$${a%/*} ; \ |