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 Lucistnik 2007-06-01 15:17:51 +00:00
parent a33ebaecf6
commit e61e798b8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170185
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