pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libao-macosx



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 17:38:23 UTC 2024

Modified Files:
        pkgsrc/audio/libao-macosx: Makefile

Log Message:
libao-macosx: Fix building on OS X versions before 10.6


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/libao-macosx/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/libao-macosx/Makefile
diff -u pkgsrc/audio/libao-macosx/Makefile:1.9 pkgsrc/audio/libao-macosx/Makefile:1.10
--- pkgsrc/audio/libao-macosx/Makefile:1.9      Tue Dec 24 05:07:45 2019
+++ pkgsrc/audio/libao-macosx/Makefile  Sat Mar 16 17:38:23 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2019/12/24 05:07:45 dbj Exp $
+# $NetBSD: Makefile,v 1.10 2024/03/16 17:38:23 nia Exp $
 
 .include "../../audio/libao/Makefile.common"
 
@@ -15,5 +15,15 @@ BUILDLINK_API_DEPENDS.libao+=        libao>=0.8
 
 _LIBAO_BUILDING_PLUGIN=        yes
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100600
+CPPFLAGS+=     -DAudioComponent=Component
+CPPFLAGS+=     -DAudioComponentDescription=ComponentDescription
+CPPFLAGS+=     -DAudioComponentFindNext=FindNextComponent
+CPPFLAGS+=     -DAudioComponentInstanceNew=OpenAComponent
+CPPFLAGS+=     -DAudioComponentInstanceDispose=CloseComponent
+.endif
+
 .include "../../audio/libao/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index