Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2016 00:09:06 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>, freebsd-ports@freebsd.org
Subject:   Re: Port Makefile Automatically enable option
Message-ID:  <2c4aa7a3-4cb1-1de0-d947-6745d380fa6f@FreeBSD.org>
In-Reply-To: <98c35602-bfdd-2c2b-04ea-b5b9343233c5@utanet.at>
References:  <98c35602-bfdd-2c2b-04ea-b5b9343233c5@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/08/2016 12:01 AM, Walter Schwarzenfeld wrote:
> Is there a command to "automatically" enables an option if another
> option need it?

As a user, there's probably some make.conf shell foo you could create.

As a porter/maintainer, within the same port:

OPTION_IMPLIES=OPTION

There is a corresponding OPTION_PREVENTS helper as well

Implying/Requiring an OPTION in another port, no.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c4aa7a3-4cb1-1de0-d947-6745d380fa6f>