summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-04-18 18:41:51 +0000
committerben <ben@pkgsrc.org>2004-04-18 18:41:51 +0000
commit76bb98acfd775218a80e99bd1bfaa7b476dffdb3 (patch)
tree9e59a3dd3aa72a576f689141148ab70a855a94e9 /audio
parent31136d1e509202b9b6cdd196a985d40ceb46e5c6 (diff)
downloadpkgsrc-76bb98acfd775218a80e99bd1bfaa7b476dffdb3.tar.gz
Make timidity build and run in Linux.
Diffstat (limited to 'audio')
-rw-r--r--audio/timidity/Makefile14
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"