Date: Fri, 4 Oct 2013 15:33:10 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329326 - head/Mk Message-ID: <201310041533.r94FXAKn050223@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Oct 4 15:33:10 2013 New Revision: 329326 URL: http://svnweb.freebsd.org/changeset/ports/329326 Log: Fix makeplist with no MTREE_FILE Modified: head/Mk/bsd.stage.mk Modified: head/Mk/bsd.stage.mk ============================================================================== --- head/Mk/bsd.stage.mk Fri Oct 4 15:31:35 2013 (r329325) +++ head/Mk/bsd.stage.mk Fri Oct 4 15:33:10 2013 (r329326) @@ -72,10 +72,14 @@ add-plist-info: .if !target(makeplist) makeplist: stage +.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%/*} ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310041533.r94FXAKn050223>