svn commit: r333776 - head/graphics/tiff

Mathieu Arnold mat at FreeBSD.org
Thu Nov 14 17:24:25 UTC 2013


+--On 14 novembre 2013 17:14:34 +0000 Dirk Meyer <dinoex at FreeBSD.org> wrote:
| +OPTIONS_DEFINE=	X11
| +OPTIONS_DEFAULT=X11
| +
| +.include <bsd.port.options.mk>
| +
| +.if ${PORT_OPTIONS:MX11}
| +USE_XORG=	sm ice xmu xi x11
| +USE_GL=		glut glu gl
| +PLIST_SUB+=	WITH_X11=""
| +.else
| +CONFIGURE_ARGS+=	--without-x --without-libgl
| +PLIST_SUB+=	WITH_X11="@comment "
| +.endif

This would be better written as :

OPTIONS_DEFINE=	X11
OPTIONS_DEFAULT=X11
OPTIONS_SUB=    yes

X11_USE=        xorg=sm,ice,xmu,xi,x11 gl=glut,glu,gl
X11_CONFIGURE_WITH=     x libgl

.include <bsd.port.options.mk>

Regards,

-- 
Mathieu Arnold


More information about the svn-ports-all mailing list