Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 05:35:19 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383191 - head/Mk
Message-ID:  <201504040535.t345ZJ9M028396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504040535.t345ZJ9M028396>