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:
pav 2007-06-01 15:17:51 +00:00
parent aae93b87b9
commit 1c97e68f1e
2 changed files with 9 additions and 1 deletions

View File

@ -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=

View File

@ -0,0 +1,8 @@
# $FreeBSD$
USEOPTIONSMK= yes
INOPTIONSMK= yes
.include <bsd.port.mk>
.undef INOPTIONSMK