svn commit: r337945 - head/graphics/webp

Baptiste Daroussin bapt at FreeBSD.org
Sun Dec 29 10:23:42 UTC 2013


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

no need to include bsd.port.options.mk

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20131229/024156d5/attachment.sig>


More information about the svn-ports-head mailing list