diff options
-rw-r--r-- | Mk/bsd.sanity.mk | 11 |
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" |