pkgsrc-WIP-changes archive

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

sfwbar: bsdctl is FreeBSD only



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Thu Mar 19 10:40:06 2026 +0100
Changeset:	4f68156d25aaa17481735f24eaeffeff2cc607ed

Modified Files:
	sfwbar/Makefile

Log Message:
sfwbar: bsdctl is FreeBSD only

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4f68156d25aaa17481735f24eaeffeff2cc607ed

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sfwbar/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/sfwbar/Makefile b/sfwbar/Makefile
index 7f6df80372..60a1249110 100644
--- a/sfwbar/Makefile
+++ b/sfwbar/Makefile
@@ -14,7 +14,12 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config
 LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/sfwbar
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "FreeBSD"
+MESON_ARGS+=	-Dbsdctl=enabled
+.else
 MESON_ARGS+=	-Dbsdctl=disabled
+.endif
 MESON_ARGS+=	-Dpulse=disabled
 MESON_ARGS+=	-Dpipewire=disabled
 MESON_ARGS+=	-Dalsa=disabled


Home | Main Index | Thread Index | Old Index