diff options
author | ben <ben@pkgsrc.org> | 2004-04-18 18:41:51 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-04-18 18:41:51 +0000 |
commit | 800ba7c1a2eb947547792d9d3ee09b7c8f80fb87 (patch) | |
tree | 9e59a3dd3aa72a576f689141148ab70a855a94e9 /audio/timidity | |
parent | 7e0f3a6c87574075b6b4ac9c9d8368692bd9460a (diff) | |
download | pkgsrc-800ba7c1a2eb947547792d9d3ee09b7c8f80fb87.tar.gz |
Make timidity build and run in Linux.
Diffstat (limited to 'audio/timidity')
-rw-r--r-- | audio/timidity/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile index d14bc38bae5..cc16214adab 100644 --- a/audio/timidity/Makefile +++ b/audio/timidity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2004/04/14 14:41:34 adam Exp $ +# $NetBSD: Makefile,v 1.47 2004/04/18 18:41:51 ben Exp $ # DISTNAME= TiMidity++-2.13.0 @@ -15,11 +15,21 @@ CONFLICTS= kdemultimedia-[0-9]* USE_BUILDLINK3= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-vt100 --enable-audio=sun,vorbis +CONFIGURE_ARGS+= --enable-vt100 CONFIGURE_ARGS+= --enable-gtk --enable-wrd --enable-xaw --enable-ncurses CONFIGURE_ARGS+= --with-ogg-prefix="${BUILDLINK_DIR}/include" CONFIGURE_ARGS+= --with-vorbis-prefix="${BUILDLINK_DIR}/include" +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" +CONFIGURE_ARGS+= --enable-audio=sun,vorbis +.endif + +.if ${OPSYS} == "Linux" +CONFIGURE_ARGS+= --enable-audio=oss,vorbis +.endif + .include "../../audio/libvorbis/buildlink3.mk" .include "../../devel/ncurses/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" |