Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151094477
D917.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
556 B
Referenced Files
None
Subscribers
None
D917.id.diff
View Options
Index: head/Mk/bsd.sanity.mk
===================================================================
--- head/Mk/bsd.sanity.mk
+++ head/Mk/bsd.sanity.mk
@@ -7,6 +7,15 @@
WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead"
.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 defined(WITHOUT_X11)
#WARNING+= "WITHOUT_X11 is deprecated use X11 option instead"
#.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 12:06 AM (18 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31003136
Default Alt Text
D917.id.diff (556 B)
Attached To
Mode
D917: check categories in bsd.sanity.mk
Attached
Detach File
Event Timeline
Log In to Comment