pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libwildmidi



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jul  6 21:05:25 UTC 2019

Modified Files:
        pkgsrc/audio/libwildmidi: Makefile

Log Message:
libwildmidi: Resolve conflicts on systems with OpenAL/ALSA installed.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libwildmidi/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/libwildmidi/Makefile
diff -u pkgsrc/audio/libwildmidi/Makefile:1.5 pkgsrc/audio/libwildmidi/Makefile:1.6
--- pkgsrc/audio/libwildmidi/Makefile:1.5       Thu Sep 15 20:21:37 2016
+++ pkgsrc/audio/libwildmidi/Makefile   Sat Jul  6 21:05:25 2019
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2016/09/15 20:21:37 wiedi Exp $
+# $NetBSD: Makefile,v 1.6 2019/07/06 21:05:25 nia Exp $
 
 DISTNAME=      wildmidi-0.4.0
 PKGNAME=       lib${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  https://github.com/Mindwerks/wildmidi/archive/
 
@@ -21,5 +22,17 @@ SUBST_FILES.man+=    src/CMakeLists.txt
 SUBST_STAGE.man=       post-extract
 SUBST_MESSAGE.man=     Fixing man page installation path.
 
-.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+
+CMAKE_ARGS+=   -DWANT_OPENAL=OFF
+.if ${OPSYS} == "Linux"
+CMAKE_ARGS+=   -DWANT_ALSA=ON
+.  include "../../audio/alsa-lib/buildlink3.mk"
+.else
+.  include "../../mk/oss.buildlink3.mk"
+.  if ${OSS_TYPE} != "none"
+CMAKE_ARGS+=   -DWANT_OSS=ON
+.  endif
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index