diff options
author | schmonz <schmonz@pkgsrc.org> | 2005-12-31 20:41:41 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2005-12-31 20:41:41 +0000 |
commit | 29a450bf4b40a5339f308eac8bcf7266f346277e (patch) | |
tree | 66719a0aed67ea461d2a7280f402152b6027f48a | |
parent | 3c94ebf9b5105e5d7009a6f434301e50a6d98628 (diff) | |
download | pkgsrc-29a450bf4b40a5339f308eac8bcf7266f346277e.tar.gz |
Enable vorbis, flac, and speex output even for platforms without a native
audio driver specified, and bump PKGREVISION. OK'd by wiz.
-rw-r--r-- | audio/timidity/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile index 2fda3739ba3..db1ae5c0286 100644 --- a/audio/timidity/Makefile +++ b/audio/timidity/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.53 2005/12/05 23:55:02 rillig Exp $ +# $NetBSD: Makefile,v 1.54 2005/12/31 20:41:41 schmonz Exp $ DISTNAME= TiMidity++-2.13.2 PKGNAME= ${DISTNAME:S/TiMidity++/timidity/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timidity/} EXTRACT_SUFX= .tar.bz2 @@ -20,6 +20,7 @@ CONFIGURE_ARGS+= --with-libFLAC="${BUILDLINK_DIR}/include" CONFIGURE_ARGS+= --with-ogg="${BUILDLINK_DIR}/include" CONFIGURE_ARGS+= --with-vorbis="${BUILDLINK_DIR}/include" CONFIGURE_ARGS+= --with-default-path=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --enable-audio=${TIMIDITY_NATIVE_AUDIO},vorbis,flac,speex SUBST_CLASSES+= confdir SUBST_MESSAGE.confdir= "Configuring to use PKG_SYSCONFDIR." @@ -29,12 +30,14 @@ SUBST_SED.confdir= -e 's,/usr/local/share/timidity,${PKG_SYSCONFDIR},g' .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" -CONFIGURE_ARGS+= --enable-audio=sun,vorbis,flac,speex -.endif +TIMIDITY_NATIVE_AUDIO= # empty -.if ${OPSYS} == "Linux" -CONFIGURE_ARGS+= --enable-audio=oss,vorbis,flac,speex +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" +TIMIDITY_NATIVE_AUDIO= sun +.elif ${OPSYS} == "Linux" +TIMIDITY_NATIVE_AUDIO= oss +.elif ${OPSYS} == "Darwin" +TIMIDITY_NATIVE_AUDIO= darwin .endif .include "../../audio/flac/buildlink3.mk" |