diff options
author | schmonz <schmonz> | 2005-12-31 20:41:41 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2005-12-31 20:41:41 +0000 |
commit | de4f204905e15ba9ef601645d2bdae75661eaf0b (patch) | |
tree | 66719a0aed67ea461d2a7280f402152b6027f48a /audio/timidity/Makefile | |
parent | 77f52c3b80c876f599ce1779c6e7a59d4abdc7fa (diff) | |
download | pkgsrc-de4f204905e15ba9ef601645d2bdae75661eaf0b.tar.gz |
Enable vorbis, flac, and speex output even for platforms without a native
audio driver specified, and bump PKGREVISION. OK'd by wiz.
Diffstat (limited to 'audio/timidity/Makefile')
-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" |