- remove the sun FLAVOR and add sunaudio support by default

note: people running with non-default FLAVOR(s) will need to update their
package manually as "pkg_add -u" won't be able to cope with this change

discussed with and ok steven@, "theorical ok" from pvalchev@
This commit is contained in:
ajacoutot 2007-12-09 13:40:16 +00:00
parent f4eef20fd2
commit 9e0758caca
3 changed files with 8 additions and 14 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.58 2007/11/18 09:39:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.59 2007/12/09 13:40:16 ajacoutot Exp $
COMMENT= cross-platform multimedia library
VERSION= 1.2.12
DISTNAME= SDL-${VERSION}
PKGNAME= ${DISTNAME:L}p1
PKGNAME= ${DISTNAME:L}p2
CATEGORIES= devel
HOMEPAGE= http://www.libsdl.org/
@ -23,8 +23,8 @@ MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
MASTER_SITES0= http://dev.beastie.hu/ \
http://www.beastie.hu/
FLAVORS= sun esd arts aa caca no_x11 altivec
FLAVOR?= sun
FLAVORS= esd arts aa caca no_x11 altivec
FLAVOR?=
USE_LIBTOOL= Yes
MODULES= converters/libiconv
@ -45,7 +45,8 @@ CONFIGURE_ENV+= ac_cv_lib_usb_hid_init=no \
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-oss \
--disable-ltdl \
--enable-pthread-sem
--enable-pthread-sem \
--enable-sunaudio
.include <bsd.own.mk>
USE_GCC3?=No
@ -57,12 +58,6 @@ CONFIGURE_ARGS+= --enable-nasm
CONFIGURE_ARGS+= --disable-nasm
.endif
.if ${FLAVOR:L:Msun}
CONFIGURE_ARGS+= --enable-sunaudio
.else
CONFIGURE_ARGS+= --disable-sunaudio
.endif
.if ${FLAVOR:L:Mesd}
LIB_DEPENDS+= esd.>=2::audio/esound
CONFIGURE_ARGS+= --enable-esd

View File

@ -5,8 +5,6 @@ software, emulators, and many popular games.
Packages can be built with additional FLAVORs:
sun: SDL built with our native audio driver.
esd: SDL built with the esound package.
This FLAVOR requires the esound package.

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.12 2007/09/22 01:12:38 pvalchev Exp $
@comment $OpenBSD: PLIST,v 1.13 2007/12/09 13:40:16 ajacoutot Exp $
@pkgpath ${BASE_PKGPATH},sun
bin/sdl-config
include/SDL/
include/SDL/SDL.h