freebsd-ports/Mk/bsd.port.options.mk
Mark Linimon 3075637e6f 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.
2006-09-30 19:23:40 +00:00

27 lines
491 B
Makefile

#-*- 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