Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2019 07:54:51 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518754 - head/x11/alacritty
Message-ID:  <201912010754.xB17spmx067663@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Dec  1 07:54:50 2019
New Revision: 518754
URL: https://svnweb.freebsd.org/changeset/ports/518754

Log:
  x11/alacritty: Unbreak tests
  
  - Add x11-fonts/dejavu as a test dependency.  This allows the "font"
    crate tests to find a font that matches "monospace".
  - The test build cannot find libxcb.  It is unclear why the link
    failure is not triggered during the normal build.  Add USES=localbase
    for now.
  
  error: linking with `cc` failed: exit code: 1
  [...]
    = note: /usr/bin/ld: error: unable to find library -lxcb
            /usr/bin/ld: error: unable to find library -lxcb
            /usr/bin/ld: error: unable to find library -lxcb
            /usr/bin/ld: error: unable to find library -lxcb
            /usr/bin/ld: error: unable to find library -lxcb-render
            /usr/bin/ld: error: unable to find library -lxcb-shape
            /usr/bin/ld: error: unable to find library -lxcb-xfixes
  
  error: aborting due to previous error
  
  error: could not compile `copypasta`.

Modified:
  head/x11/alacritty/Makefile

Modified: head/x11/alacritty/Makefile
==============================================================================
--- head/x11/alacritty/Makefile	Sun Dec  1 07:01:17 2019	(r518753)
+++ head/x11/alacritty/Makefile	Sun Dec  1 07:54:50 2019	(r518754)
@@ -13,8 +13,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE-APACHE
 
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
+TEST_DEPENDS=	dejavu>0:x11-fonts/dejavu
 
-USES=		cargo python:3.6+,build ssl:build xorg
+USES=		cargo localbase:ldflags python:3.6+,build ssl:build xorg
 USE_GITHUB=	yes
 GH_ACCOUNT=	jwilm
 GH_TUPLE=	chrisduerr:glutin:7e479dca8be6244b96e2a080714fc4babf7fe30d:glutin \



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