svn commit: r484786 - head/graphics/piglit

Jan Beich jbeich at FreeBSD.org
Sun Nov 11 23:23:28 UTC 2018


Author: jbeich
Date: Sun Nov 11 23:23:27 2018
New Revision: 484786
URL: https://svnweb.freebsd.org/changeset/ports/484786

Log:
  graphics/piglit: track graphics/wayland dependency
  
  CMake Error at CMakeLists.txt:162 (message):
    Wayland support requires xkbcommon.  Failed to find xkbcommon library.
  
  PR:		227509
  Reported by:	antoine (via exp-run)

Modified:
  head/graphics/piglit/Makefile   (contents, props changed)

Modified: head/graphics/piglit/Makefile
==============================================================================
--- head/graphics/piglit/Makefile	Sun Nov 11 23:23:11 2018	(r484785)
+++ head/graphics/piglit/Makefile	Sun Nov 11 23:23:27 2018	(r484786)
@@ -44,6 +44,13 @@ SUB_FILES=	pkg-message
 DATADIR=	${PREFIX}/lib/piglit
 PORTDATA=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS WAYLAND
+
+WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland \
+			libxkbcommon.so:x11/libxkbcommon
+
+post-patch-WAYLAND-off:
+	@${REINPLACE_CMD} -e '/pkg_check_modules.*wayland/d' \
+		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list