Date: Thu, 6 Aug 2015 07:57:30 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393637 - head/www/webkit2-gtk3 Message-ID: <201508060757.t767vUjn006183@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508060757.t767vUjn006183>