From owner-svn-ports-all@FreeBSD.ORG Mon Jun 30 22:26:52 2014 Return-Path: Delivered-To: svn-ports-all@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 5F1587B6; Mon, 30 Jun 2014 22:26:52 +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 4C6752C99; Mon, 30 Jun 2014 22:26:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5UMQq4Z061258; Mon, 30 Jun 2014 22:26:52 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5UMQqXV061257; Mon, 30 Jun 2014 22:26:52 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201406302226.s5UMQqXV061257@svn.freebsd.org> From: Antoine Brodin Date: Mon, 30 Jun 2014 22:26:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359935 - head/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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 22:26:52 -0000 Author: antoine Date: Mon Jun 30 22:26:51 2014 New Revision: 359935 URL: http://svnweb.freebsd.org/changeset/ports/359935 QAT: https://qat.redports.org/buildarchive/r359935/ Log: Do not report parent directories of LOCALBASE as orphans Reported and tested by: gerald With hat: portmgr Modified: head/Mk/Scripts/check-stagedir.sh Modified: head/Mk/Scripts/check-stagedir.sh ============================================================================== --- head/Mk/Scripts/check-stagedir.sh Mon Jun 30 22:05:48 2014 (r359934) +++ head/Mk/Scripts/check-stagedir.sh Mon Jun 30 22:26:51 2014 (r359935) @@ -157,6 +157,14 @@ parse_mtree() { fi unset MTREE_FILE GNOME_MTREE_FILE + # Add LOCALBASE + a=${LOCALBASE} + while :; do + echo ${a} + a=${a%/*} + [ -z "${a}" ] && break + done + # Add in PREFIX if this port wants it if [ ${NO_PREFIX_RMDIR} -eq 0 ]; then a=${PREFIX}