Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handle
OPTIONS resolving. This will allow us to load bsd.port.mk in port Makefiles in three steps (options, pre, post), allowing us to manipulate USE_* flags conditionally on OPTIONS values. With hat: portmgr Reviewed by: ru MFC after: 1 week
This commit is contained in:
parent
aae93b87b9
commit
1c97e68f1e
@ -7,7 +7,7 @@ FILES+= bsd.files.mk bsd.incs.mk bsd.info.mk bsd.init.mk
|
||||
FILES+= bsd.kmod.mk
|
||||
FILES+= bsd.lib.mk bsd.libnames.mk bsd.links.mk bsd.man.mk bsd.nls.mk
|
||||
FILES+= bsd.obj.mk bsd.own.mk
|
||||
FILES+= bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk
|
||||
FILES+= bsd.port.mk bsd.port.options.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk
|
||||
FILES+= bsd.prog.mk bsd.snmpmod.mk bsd.subdir.mk bsd.sys.mk bsd.symver.mk
|
||||
FILES+= sys.mk version_gen.awk
|
||||
NO_OBJ=
|
||||
|
8
share/mk/bsd.port.options.mk
Normal file
8
share/mk/bsd.port.options.mk
Normal file
@ -0,0 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
USEOPTIONSMK= yes
|
||||
INOPTIONSMK= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.undef INOPTIONSMK
|
Loading…
x
Reference in New Issue
Block a user