pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/sndio
Module Name: pkgsrc
Committed By: vins
Date: Sun Dec 14 19:02:51 UTC 2025
Modified Files:
pkgsrc/audio/sndio: Makefile builtin.mk
Log Message:
audio/sndio: some cosmetic chsanges
Also, mark as broken on any platform where it won't build.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/sndio/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/sndio/builtin.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/sndio/Makefile
diff -u pkgsrc/audio/sndio/Makefile:1.2 pkgsrc/audio/sndio/Makefile:1.3
--- pkgsrc/audio/sndio/Makefile:1.2 Sun Nov 30 13:43:13 2025
+++ pkgsrc/audio/sndio/Makefile Sun Dec 14 19:02:51 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2025/11/30 13:43:13 vins Exp $
+# $NetBSD: Makefile,v 1.3 2025/12/14 19:02:51 vins Exp $
DISTNAME= sndio-1.10.0
PKGREVISION= 1
@@ -10,12 +10,22 @@ HOMEPAGE= http://www.sndio.org/
COMMENT= Small audio and MIDI framework
LICENSE= isc
+# Supporting any additional platform requires writing a -
+# dedicated backend module for the sndio library.
+#
+BROKEN_EXCEPT_ON_PLATFORM= OpenBSD-*-* FreeBSD-*-* \
+ NetBSD-*-* Linux-*-*
+
HAS_CONFIGURE= yes
BUILD_DEFS+= VARBASE
SNDIO_HOME= ${VARBASE}/run/sndio
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" # only needed for our rc.d script
DEPENDS+= daemonize-[0-9]*:../../sysutils/daemonize
+.endif
RCD_SCRIPTS= sndio
@@ -32,20 +42,22 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} \
--mandir=${PREFIX}/${PKGMANDIR} \
--pkgconfdir=${PREFIX}/lib/pkgconfig
-.include "../../mk/bsd.prefs.mk"
+.include "../../mk/oss.buildlink3.mk"
-.if ${OPSYS:M*BSD}
-. include "../../mk/oss.buildlink3.mk"
+# support the right backend module
+.if ${OSS_TYPE:tl} != "none"
SUBST_CLASSES+= oss
SUBST_STAGE.oss= pre-configure
SUBST_MESSAGE.oss= Point to the correct OSS device.
SUBST_FILES.oss+= libsndio/sio_oss.c
SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
.elif ${OPSYS} == "Linux"
-. include "../../devel/libbsd/buildlink3.mk"
. include "../../audio/alsa-lib/buildlink3.mk"
.endif
BUILD_DIRS+= libsndio sndiod sndioctl aucat midicat
+.if ${OPSYS} == "Linux"
+. include "../../devel/libbsd/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/sndio/builtin.mk
diff -u pkgsrc/audio/sndio/builtin.mk:1.1 pkgsrc/audio/sndio/builtin.mk:1.2
--- pkgsrc/audio/sndio/builtin.mk:1.1 Sun Dec 14 13:41:22 2025
+++ pkgsrc/audio/sndio/builtin.mk Sun Dec 14 19:02:51 2025
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2025/12/14 13:41:22 vins Exp $
+# $NetBSD: builtin.mk,v 1.2 2025/12/14 19:02:51 vins Exp $
BUILTIN_PKG:= sndio
@@ -23,7 +23,7 @@ IS_BUILTIN.sndio= yes
IS_BUILTIN.sndio= no
. endif
.endif
-MAKEVARS+= IS_BUILTIN.sndio
+MAKEVARS+= IS_BUILTIN.sndio
###
### Determine whether we should use the built-in implementation.
Home |
Main Index |
Thread Index |
Old Index