Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2018 23:23:27 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484786 - head/graphics/piglit
Message-ID:  <201811112323.wABNNRfN096386@repo.freebsd.org>

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



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