pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/alacritty alacritty: also omit the X11-specific RU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c86104596c06
branches:  trunk
changeset: 458306:c86104596c06
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Sep 12 14:50:27 2021 +0000

description:
alacritty: also omit the X11-specific RUSTFLAGS

diffstat:

 x11/alacritty/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8e0ce0ab8c52 -r c86104596c06 x11/alacritty/Makefile
--- a/x11/alacritty/Makefile    Sun Sep 12 14:47:34 2021 +0000
+++ b/x11/alacritty/Makefile    Sun Sep 12 14:50:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/09/12 14:47:34 tnn Exp $
+# $NetBSD: Makefile,v 1.13 2021/09/12 14:50:27 tnn Exp $
 
 DISTNAME=      alacritty-0.9.0
 CATEGORIES=    x11
@@ -19,11 +19,14 @@
 USE_TOOLS+=            gmake pkg-config        # for fontconfig-sys
 
 MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxcb}/lib
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.fontconfig}/lib
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.freetype2}/lib
-
-.include "../../mk/bsd.prefs.mk"
+.endif
 
 .if ${OPSYS} == "NetBSD" && exists(${X11BASE}/lib/X11/locale/lib/common/xlcUTF8Load.so)
 # This works around XIM errors when RTLD local-binding libX11.



Home | Main Index | Thread Index | Old Index