Drop oss flavor.
Note: If you use the esd flavor you'll still be using ossaudio, due to esound itself linking with it. So, we can't completely get rid of it yet.
This commit is contained in:
parent
674f764217
commit
ce5d4c4cab
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2001/07/18 10:59:01 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2001/07/19 22:03:26 pvalchev Exp $
|
||||
|
||||
COMMENT= "cross-platform multimedia library"
|
||||
|
||||
@ -20,11 +20,11 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
MASTER_SITES= ${HOMEPAGE}/release/ \
|
||||
http://www.devolution.com/~slouken/SDL/release/
|
||||
|
||||
FLAVORS= sun oss esd arts no_x11
|
||||
FLAVORS= sun esd arts no_x11
|
||||
FLAVOR?= sun
|
||||
|
||||
.if empty(FLAVOR:L:Msun) && empty(FLAVOR:L:Moss) && empty(FLAVOR:L:Mesd)
|
||||
ERRORS+= "Fatal: You must choose a flavor from: sun, oss, esd" \
|
||||
.if empty(FLAVOR:L:Msun) && empty(FLAVOR:L:Mesd)
|
||||
ERRORS+= "Fatal: You must choose a flavor from: sun, esd" \
|
||||
" to select the appropriate sound system you want to use." \
|
||||
" Additionally, you can append your other choices afterwards."
|
||||
.endif
|
||||
@ -36,6 +36,7 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= X11BASE="${X11BASE}"
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--disable-pthread-sem \
|
||||
--disable-oss \
|
||||
--disable-nasm
|
||||
|
||||
.if ${FLAVOR:L:Msun}
|
||||
@ -51,12 +52,6 @@ CONFIGURE_ARGS+= --enable-esd
|
||||
CONFIGURE_ARGS+= --disable-esd
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Moss}
|
||||
CONFIGURE_ARGS+= --enable-oss
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-oss
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Marts}
|
||||
LIB_DEPENDS+= artsc::x11/kde/libs2
|
||||
CONFIGURE_ARGS+= --enable-arts
|
||||
|
@ -7,8 +7,6 @@ Packages can be built with additional FLAVORs:
|
||||
|
||||
sun: SDL built with our native audio driver.
|
||||
|
||||
oss: SDL built with sound support using OSS audio.
|
||||
|
||||
esd: SDL built with the esound package.
|
||||
This FLAVOR requires the esound package.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user