svn commit: r337945 - head/graphics/webp

Rusmir Dusko nemysis at FreeBSD.org
Sun Dec 29 09:33:12 UTC 2013


> +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

.include <bsd.port.options.mk>

X11_CONFIGURE_DISABLE=--with-glincludedir=/dev/null

.if ${PORT_OPTIONS:MX11}
USE_GL=glut
.endif

-- 
Best regards,
Rusmir Dusko


More information about the svn-ports-head mailing list