pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/openal-soft



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jul 25 15:28:28 UTC 2016

Modified Files:
        pkgsrc/audio/openal-soft: Makefile

Log Message:
Don't enable OSS if unsupported.  Fixes Darwin at least.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/openal-soft/Makefile

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

Modified files:

Index: pkgsrc/audio/openal-soft/Makefile
diff -u pkgsrc/audio/openal-soft/Makefile:1.2 pkgsrc/audio/openal-soft/Makefile:1.3
--- pkgsrc/audio/openal-soft/Makefile:1.2       Tue Jul 19 08:44:45 2016
+++ pkgsrc/audio/openal-soft/Makefile   Mon Jul 25 15:28:27 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/07/19 08:44:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2016/07/25 15:28:27 jperkin Exp $
 #
 
 DISTNAME=      openal-soft-1.17.2
@@ -25,7 +25,6 @@ CMAKE_ARGS+=  -DALSOFT_BACKEND_ALSA:BOOL=
 .include "../../audio/alsa-lib/buildlink3.mk"
 .endif
 
-CMAKE_ARGS+=   -DALSOFT_REQUIRE_OSS:BOOL=ON
 CMAKE_ARGS+=   -DALSOFT_REQUIRE_SOLARIS:BOOL=OFF
 CMAKE_ARGS+=   -DALSOFT_REQUIRE_SNDIO:BOOL=OFF
 CMAKE_ARGS+=   -DALSOFT_REQUIRE_QSA:BOOL=OFF
@@ -38,6 +37,12 @@ CMAKE_ARGS+= -DALSOFT_BACKEND_PULSEAUDIO
 
 .include "../../mk/oss.buildlink3.mk"
 
+.if ${OSS_TYPE} == "none"
+CMAKE_ARGS+=   -DALSOFT_REQUIRE_OSS:BOOL=OFF
+.else
+CMAKE_ARGS+=   -DALSOFT_REQUIRE_OSS:BOOL=ON
+.endif
+
 .if !empty(BUILTIN_LIB_FOUND.ossaudio:M[Yy][Ee][Ss])
 CMAKE_ARGS+=   -DEXTRA_LIBS=${LIBOSSAUDIO:Q}
 .endif



Home | Main Index | Thread Index | Old Index