pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/alacritty alacritty: fix build on macOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e0ce0ab8c52
branches: trunk
changeset: 458305:8e0ce0ab8c52
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Sep 12 14:47:34 2021 +0000
description:
alacritty: fix build on macOS
The package only supports using the quartz backend here, so no
X11 libraries needed.
diffstat:
x11/alacritty/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 1a925b607faa -r 8e0ce0ab8c52 x11/alacritty/Makefile
--- a/x11/alacritty/Makefile Sun Sep 12 14:11:43 2021 +0000
+++ b/x11/alacritty/Makefile Sun Sep 12 14:47:34 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/08/04 00:02:32 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2021/09/12 14:47:34 tnn Exp $
DISTNAME= alacritty-0.9.0
CATEGORIES= x11
@@ -46,11 +46,13 @@
${INSTALL_PROGRAM} ${WRKSRC}/target/release/alacritty ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/alacritty.yml ${DESTDIR}${PREFIX}/share/examples/alacritty
-.include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
+.if ${OPSYS} != "Darwin"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index