3075637e6f
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.
27 lines
491 B
Makefile
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
|