svn commit: r356925 - head/graphics/webp

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jun 7 16:33:41 UTC 2014


Author: sunpoet
Date: Sat Jun  7 16:33:40 2014
New Revision: 356925
URL: http://svnweb.freebsd.org/changeset/ports/356925
QAT: https://qat.redports.org/buildarchive/r356925/

Log:
  - Build vwebp only if X11 option is on

Modified:
  head/graphics/webp/Makefile

Modified: head/graphics/webp/Makefile
==============================================================================
--- head/graphics/webp/Makefile	Sat Jun  7 16:32:21 2014	(r356924)
+++ head/graphics/webp/Makefile	Sat Jun  7 16:33:40 2014	(r356925)
@@ -32,9 +32,13 @@ CONFIGURE_ARGS=	--enable-libwebpdecoder 
 USE_LDCONFIG=	yes
 USES=		libtool
 
-X11_CONFIGURE_OFF=	--with-glincludedir=/dev/null
+X11_CONFIGURE_OFF=	build_vwebp=no
+X11_CONFIGURE_ON=	build_vwebp=yes
 X11_USE=		GL=glut
 
+post-patch:
+	@${REINPLACE_CMD} '/build_vwebp=yes/d' ${WRKSRC}/configure
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwebp*.so
 


More information about the svn-ports-all mailing list