1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Split the bsd.port.pre.mk functionality into two pieces. The majority is

left unchanged but the processing of dependencies is moved after OPTIONS
processing.  See comments for suggested usage.

This functionality is still experimental and not yet used by any port.
This commit is contained in:
Mark Linimon 2006-09-30 19:23:40 +00:00
parent b71ee3e237
commit 3075637e6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174199

26
Mk/bsd.port.options.mk Normal file
View File

@ -0,0 +1,26 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
# bsd.port.options.mk - Allow OPTIONS to determine dependencies
#
# usage:
#
# .include "bsd.port.pre.mk"
# <deal with user options>
# .include "bsd.port.options.mk"
# <other work, including adjusting dependencies>
# .include "bsd.port.post.mk"
#
# Created by: Shaun Amott <shaun@inerd.com>
#
# $FreeBSD$
#
OPTIONS_Include_MAINTAINER= portmgr@FreeBSD.org
USEOPTIONSMK= yes
INOPTIONSMK= yes
.include "bsd.port.mk"
.undef INOPTIONSMK