Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 15:57:03 +0200
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: OptionsNG and defaults
Message-ID:  <20130620155703.660e5828@FreeBSD.org>
In-Reply-To: <51C2F3BF.5020502@passap.ru>
References:  <51C2F3BF.5020502@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dnia 2013-06-20, o godz. 16:21:19
Boris Samorodov <bsam@passap.ru> napisa=B3(a):

>Hi All,
>
>I try to convert a port to optionsNG. The defaults for the port now are
>DOCS=3Don, EXAMPLES=3Doff. I'd like to not change them. The PH just says
>that those options are on by default.
>
>How should I disable EXAMPLES option for the port (at it's Makefile)?

.include <bsd.port.options.mk>

PORT_OPTIONS:=3D  ${PORT_OPTIONS:S|EXAMPLES||}

This _seems_ to work for me, it's not tested much. I`m curious why you
want to do this, some slave port hack?

--=20
pozdrawiam / with regards
Pawe=B3 P=EAkala



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130620155703.660e5828>