From 2c0ef989433630d3dbfcba604694ae3e8a64e69b Mon Sep 17 00:00:00 2001 From: pvalchev Date: Tue, 5 Feb 2002 03:55:06 +0000 Subject: [PATCH] Add mikmod flavor, and explicitly disable mikmod support otherwise; ok mark --- devel/sdl-mixer/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/devel/sdl-mixer/Makefile b/devel/sdl-mixer/Makefile index 0fd12a7a7a6..c555824dfa1 100644 --- a/devel/sdl-mixer/Makefile +++ b/devel/sdl-mixer/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2001/12/28 22:21:29 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.8 2002/02/05 03:55:06 pvalchev Exp $ COMMENT= "SDL multi-channel audio mixer library" VER= 1.2.1 @@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -FLAVORS= vorbis +FLAVORS= vorbis mikmod FLAVOR?= .if ${FLAVOR:L} == "vorbis" @@ -27,6 +27,12 @@ LIB_DEPENDS+= vorbis.0,vorbisfile.1::audio/libvorbis CONFIGURE_ARGS+=--disable-music-ogg .endif +.if ${FLAVOR:L} == "mikmod" +LIB_DEPENDS+= mikmod.::audio/libmikmod +.else +CONFIGURE_ARGS+=--disable-music-mod +.endif + LIB_DEPENDS+= SDL.::devel/sdl \ smpeg.1::devel/smpeg