pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/sox



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Dec 14 12:00:41 UTC 2025

Modified Files:
        pkgsrc/audio/sox: options.mk

Log Message:
audio/sox: add optional sndio support


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/audio/sox/options.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/sox/options.mk
diff -u pkgsrc/audio/sox/options.mk:1.6 pkgsrc/audio/sox/options.mk:1.7
--- pkgsrc/audio/sox/options.mk:1.6     Sat Jan  7 21:30:26 2017
+++ pkgsrc/audio/sox/options.mk Sun Dec 14 12:00:41 2025
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2017/01/07 21:30:26 maya Exp $
+# $NetBSD: options.mk,v 1.7 2025/12/14 12:00:41 vins Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.sox
-PKG_SUPPORTED_OPTIONS= lame oss
+PKG_SUPPORTED_OPTIONS= lame oss sndio
 # lame has LICENSE= issues and thus should not be SUGGESTED.
 PKG_SUGGESTED_OPTIONS=
 .include "../../mk/bsd.options.mk"
@@ -17,3 +17,9 @@ LDFLAGS+=             -lossaudio
 .else
 CONFIGURE_ARGS+=       --without-oss
 .endif
+
+.if !empty(PKG_OPTIONS:Msndio)
+.include "../../audio/sndio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-sndio
+.endif



Home | Main Index | Thread Index | Old Index