Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 11:23:28 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Rusmir Dusko <nemysis@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, Johan van Selst <johans@FreeBSD.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r337945 - head/graphics/webp
Message-ID:  <20131229102328.GA69762@ithaqua.etoilebsd.net>
In-Reply-To: <20131229093309.GA36631@misterbean90now>
References:  <20131229093309.GA36631@misterbean90now>

next in thread | previous in thread | raw e-mail | index | archive | help

--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 29, 2013 at 10:33:09AM +0100, Rusmir Dusko wrote:
> > +OPTIONS_DEFINE=3DX11
> > +
> > +.include <bsd.port.options.mk>
> > +
> > +.if ${PORT_OPTIONS:MX11}
> > +USE_GL=3Dglut
> > > +PLIST_SUB=3DX11=3D""
> > +.else
> > +CONFIGURE_ARGS+=3D--with-glincludedir=3D/dev/null
> > +PLIST_SUB=3DX11=3D"@comment "
> > +.endif
>=20
> According to
>=20
> http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html
>=20
> 5.12.4. Options Helpers
>=20
> is better to use
>=20
> OPTIONS_DEFINE=3DX11
> OPTIONS_SUB=3D    yes
X11_USE=3D	GL=3Dglut
X11_CONFIGURE_OFF=3D	--with-glincludedir=3D/dev/null

no need to include bsd.port.options.mk

regards,
Bapt

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlK/+CAACgkQ8kTtMUmk6EwytACglmx1mu77R0jcHMeF/SsvYg5L
U4oAoKZHZhqDtOrMFGbNGTD7O8IQ+q2L
=/iJW
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--



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