From 3075637e6f755767af4e106b6134500e1e761c61 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sat, 30 Sep 2006 19:23:40 +0000 Subject: [PATCH] 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. --- Mk/bsd.port.options.mk | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Mk/bsd.port.options.mk diff --git a/Mk/bsd.port.options.mk b/Mk/bsd.port.options.mk new file mode 100644 index 000000000000..d36f9cd142c2 --- /dev/null +++ b/Mk/bsd.port.options.mk @@ -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" +# +# .include "bsd.port.options.mk" +# +# .include "bsd.port.post.mk" +# +# Created by: Shaun Amott +# +# $FreeBSD$ +# + +OPTIONS_Include_MAINTAINER= portmgr@FreeBSD.org + +USEOPTIONSMK= yes +INOPTIONSMK= yes + +.include "bsd.port.mk" + +.undef INOPTIONSMK