Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 16:33:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356925 - head/graphics/webp
Message-ID:  <201406071633.s57GXfg7003418@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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