remove esd flavor

This commit is contained in:
naddy 2009-04-08 14:52:15 +00:00
parent 92951dbd65
commit 17fdc65691

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2009/03/29 21:08:21 kili Exp $
# $OpenBSD: Makefile,v 1.13 2009/04/08 14:52:15 naddy Exp $
COMMENT= command-line MPEG audio decoder and player
@ -22,22 +22,12 @@ MODULES= devel/gettext
LIB_DEPENDS= id3tag.>=3::audio/libid3tag mad.>=2::audio/libmad
WANTLIB= c m sndio z
FLAVORS= esd
FLAVOR?=
.if ${FLAVOR:L:Mesd}
CONFIGURE_ARGS+= --with-esd
LIB_DEPENDS+= esd.>=2::audio/esound
WANTLIB+= audiofile
.else
CONFIGURE_ARGS+= --without-esd
.endif
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
AUTOCONF_VERSION=2.59
AUTOMAKE_VERSION=1.8
CONFIGURE_STYLE= autoconf automake
CONFIGURE_ARGS= --without-esd
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"