svn commit: r393637 - head/www/webkit2-gtk3
Koop Mast
kwm at FreeBSD.org
Thu Aug 6 07:57:30 UTC 2015
Author: kwm
Date: Thu Aug 6 07:57:29 2015
New Revision: 393637
URL: https://svnweb.freebsd.org/changeset/ports/393637
Log:
Add a check to see if cairo was build with OPENGL and EGL support.
Webkit2-gtk needs both.
Modified:
head/www/webkit2-gtk3/Makefile
Modified: head/www/webkit2-gtk3/Makefile
==============================================================================
--- head/www/webkit2-gtk3/Makefile Thu Aug 6 07:50:29 2015 (r393636)
+++ head/www/webkit2-gtk3/Makefile Thu Aug 6 07:57:29 2015 (r393637)
@@ -84,6 +84,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
${WRKSRC}/Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
+pre-configure:
+.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-egl.pc)
+ @${ECHO_CMD} "${PKGNAME}: Needs cairo with OPENGL support enabled."
+ @${FALSE}
+.endif
+
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CFLAGS="${CFLAGS}" \
${CMAKE_ENV} cmake -DPORT=GTK ${CMAKE_ARGS}
More information about the svn-ports-all
mailing list