From owner-svn-ports-head@FreeBSD.ORG Mon Sep 1 17:06:20 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D29B3643; Mon, 1 Sep 2014 17:06:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDE67144E; Mon, 1 Sep 2014 17:06:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s81H6Ktk040576; Mon, 1 Sep 2014 17:06:20 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s81H6KcN040573; Mon, 1 Sep 2014 17:06:20 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409011706.s81H6KcN040573@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 1 Sep 2014 17:06:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366901 - in head: Keywords Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 17:06:21 -0000 Author: antoine Date: Mon Sep 1 17:06:19 2014 New Revision: 366901 URL: http://svnweb.freebsd.org/changeset/ports/366901 QAT: https://qat.redports.org/buildarchive/r366901/ Log: - Make it possible to use sample keyword with a full path - Prefer @dirrmtry over @unexec rmdir in makeplist Differential Revision: https://reviews.freebsd.org/D705 Reviewed by: bapt With hat: portmgr Modified: head/Keywords/sample.ucl head/Keywords/sample.yaml head/Mk/Scripts/check-stagedir.sh Modified: head/Keywords/sample.ucl ============================================================================== --- head/Keywords/sample.ucl Mon Sep 1 16:56:27 2014 (r366900) +++ head/Keywords/sample.ucl Mon Sep 1 17:06:19 2014 (r366901) @@ -16,14 +16,20 @@ actions: [file] post-install: </dev/null 2>\&1 || :!; \ /^@dirrmtry share\/licenses/d;" # These prevent ignoring DOCS/EXAMPLES dirs with sed_portdocsexamples sed_files="s!${PREFIX}/!!g; ${sed_plist_sub} /^share\/licenses/d;" sed_dirs="s!${PREFIX}/!!g; ${sed_plist_sub} s,^,@dirrmtry ,; \ - s!@dirrmtry \(/.*\)!@unexec rmdir \"\1\" >/dev/null 2>\&1 || :!; \ /^@dirrmtry share\/licenses/d;" } @@ -334,7 +340,7 @@ check_invalid_directories_mtree() { if [ "${PREFIX}" != "${LOCALBASE}" ]; then case "${line}" in "@dirrmtry info") continue ;; - "@unexec rmdir \"${PREFIX}\" >/dev/null 2>&1 || :") continue ;; + "@dirrmtry ${PREFIX}") continue ;; esac fi ret=1