aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-08-06 15:57:29 +0800
committerkwm <kwm@FreeBSD.org>2015-08-06 15:57:29 +0800
commitaaab3f4db06a3e762d65afec5d3cab99845dbe5c (patch)
treeec25bb92434d7519de078942dc1285c0d9279748
parent9eeb070006d3d6ecd3b4a15f54b79af1a8b1adbc (diff)
downloadfreebsd-ports-gnome-aaab3f4db06a3e762d65afec5d3cab99845dbe5c.tar.gz
freebsd-ports-gnome-aaab3f4db06a3e762d65afec5d3cab99845dbe5c.tar.zst
freebsd-ports-gnome-aaab3f4db06a3e762d65afec5d3cab99845dbe5c.zip
Add a check to see if cairo was build with OPENGL and EGL support.
Webkit2-gtk needs both.
-rw-r--r--www/webkit2-gtk3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile
index 5ad530eea452..74f723a8fb43 100644
--- a/www/webkit2-gtk3/Makefile
+++ b/www/webkit2-gtk3/Makefile
@@ -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}