CVS commit: pkgsrc/wayland/sway

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Tue Aug 11 19:22:29 UTC 2026

Modified Files:
	pkgsrc/wayland/sway: Makefile

Log Message:
sway: fix build on NetBSD

linker warns about cabs* in libm


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/wayland/sway/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 725 B)
Modified files:

Index: pkgsrc/wayland/sway/Makefile
diff -u pkgsrc/wayland/sway/Makefile:1.2 pkgsrc/wayland/sway/Makefile:1.3
--- pkgsrc/wayland/sway/Makefile:1.2	Mon Jul 20 17:33:35 2026
+++ pkgsrc/wayland/sway/Makefile	Tue Aug 11 19:22:29 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2026/07/20 17:33:35 kikadf Exp $
+# $NetBSD: Makefile,v 1.3 2026/08/11 19:22:29 wiz Exp $
 
 DISTNAME=	sway-1.12
 CATEGORIES=	wayland
@@ -15,6 +15,8 @@ EGDIR=		${PREFIX}/share/examples/sway
 OWN_DIRS+=	${PKG_SYSCONFDIR}/sway
 CONF_FILES=	${EGDIR}/config ${PKG_SYSCONFDIR}/sway/config
 
+BUILDLINK_TRANSFORM+=	rm:-Wl,--fatal-warnings
+
 post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/startsway.sh \
 		${DESTDIR}${PREFIX}/bin/startsway
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.