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

Re: SDL audio saga continues




> Man, as I said -Dunix is passed when the "sun" flavor is selected.
> Otherwise, it isn't, and if the OSS flavor is, then exactly because of
> that line the sound actually works.  And I don't see how this line is
> problematic at all.  Theoretically, it does not matter.  Practically,
> try it and see for yourself before posting to ports@.

err. my apologies. logic error. my brain was not functioning. it is the
port Makefile.  --disable-esd was passed to configure.

--- Makefile.orig	Sat May 19 19:59:51 2001
+++ Makefile	Sat May 19 20:13:05 2001
@@ -25,7 +25,7 @@
 DISTFILES=	${DISTNAME}.tar.gz SDL_obsd_audio-1.2.0.tar.gz:0

 FLAVORS=	sun oss gl arts no_x11
-FLAVOR?=	oss
+FLAVOR?=	sun

 USE_GMAKE=	Yes

@@ -38,6 +38,7 @@
 		 --disable-nasm

 .if ${FLAVOR:L:Msun}
+LIB_DEPENDS+=	esd.2::audio/esound
 CONFIGURE_ARGS+= --enable-openbsdaudio \
 		 --enable-esd
 .else
@@ -47,8 +48,6 @@
 .if ${FLAVOR:L:Mesd}
 LIB_DEPENDS+=	esd.2::audio/esound
 CONFIGURE_ARGS+= --enable-esd
-.else
-CONFIGURE_ARGS+= --disable-esd
 .endif

 .if ${FLAVOR:L:Moss}
@@ -56,8 +55,7 @@
 CONFIGURE_ARGS+= --enable-esd \
 		 --enable-oss
 .else
-CONFIGURE_ARGS+= --disable-esd \
-		 --disable-oss
+CONFIGURE_ARGS+= --disable-oss
 .endif

 .if ${FLAVOR:L:Mgl}

thanks,

-vedge