how to set ALL ports to automatically unset DOCS

Adam Weinberger adamw at adamw.org
Sat Sep 23 20:42:07 UTC 2017


> On 23 Sep, 2017, at 14:29, Julian Elischer <julian at freebsd.org> wrote:
> 
> Iwish to compile several hundred ports on a regular basis.
> 
> I  however want to not install docs or examples.
> 
> is there a single place I can do that? or do I need to do a 'make config' for every port?

/etc/make.conf:
OPTIONS_UNSET=	DOCS EXAMPLES

> also:
> 
> if a port specifies something like JAVA=1.7+
> 
> how can I make it decide to select 1.8 to build?

Appropriately enough for Java, bsd.java.mk doesn't honour convention (i.e. DEFAULT_VERSIONS).

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org



More information about the freebsd-ports mailing list