From owner-svn-ports-all@FreeBSD.ORG Sat Apr 4 05:35:20 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24579C69; Sat, 4 Apr 2015 05:35: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 0F69B904; Sat, 4 Apr 2015 05:35: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 t345ZJd7028397; Sat, 4 Apr 2015 05:35:19 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t345ZJ9M028396; Sat, 4 Apr 2015 05:35:19 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201504040535.t345ZJ9M028396@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Sat, 4 Apr 2015 05:35:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383191 - head/Mk 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-1 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: Sat, 04 Apr 2015 05:35:20 -0000 Author: bdrewery Date: Sat Apr 4 05:35:19 2015 New Revision: 383191 URL: https://svnweb.freebsd.org/changeset/ports/383191 Log: Re-enable and rework check added in r370464 to validate the first CATEGORY is set properly. The problem causing the revert in r370475 was fixed in r383190. With hat: portmgr Modified: head/Mk/bsd.sanity.mk Modified: head/Mk/bsd.sanity.mk ============================================================================== --- head/Mk/bsd.sanity.mk Sat Apr 4 05:33:45 2015 (r383190) +++ head/Mk/bsd.sanity.mk Sat Apr 4 05:35:19 2015 (r383191) @@ -15,14 +15,9 @@ WARNING+= "WITH_NEW_XORG and WITHOUT_NEW WARNING+= "WITH_KMS was removed and has no effect" .endif -#.if defined(PKGORIGIN) -#.for _c in ${CATEGORIES} -#_CAT?= ${_c} -#.endfor -#.if ${.CURDIR:H:T} != ${_CAT} -#DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" -#.endif -#.endif +.if ${.CURDIR:H:T} != ${PKGCATEGORY} +DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" +.endif #.if defined(WITHOUT_X11) #WARNING+= "WITHOUT_X11 is deprecated use X11 option instead"