svn commit: r518754 - head/x11/alacritty
Tobias Kortkamp
tobik at FreeBSD.org
Sun Dec 1 07:54:51 UTC 2019
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 \
More information about the svn-ports-all
mailing list