aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-04-04 13:35:19 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-04-04 13:35:19 +0800
commitc19ae6996860b39657a1fc36fbe5f858dd3ba021 (patch)
treee8cf636168000d85bd4058bc7deb5db44010a16f /Mk
parent90341cb80396ef905839fce63442c58df74984e3 (diff)
downloadfreebsd-ports-gnome-c19ae6996860b39657a1fc36fbe5f858dd3ba021.tar.gz
freebsd-ports-gnome-c19ae6996860b39657a1fc36fbe5f858dd3ba021.tar.zst
freebsd-ports-gnome-c19ae6996860b39657a1fc36fbe5f858dd3ba021.zip
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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sanity.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 333045083c15..5814fac57b30 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -15,14 +15,9 @@ WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no eff
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"