svn commit: r383191 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Sat Apr 4 05:35:20 UTC 2015


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"


More information about the svn-ports-all mailing list