pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/timidity Make timidity build and run in Linux.
details: https://anonhg.NetBSD.org/pkgsrc/rev/12dc3fdcb877
branches: trunk
changeset: 473296:12dc3fdcb877
user: ben <ben%pkgsrc.org@localhost>
date: Sun Apr 18 18:41:51 2004 +0000
description:
Make timidity build and run in Linux.
diffstat:
audio/timidity/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r f7cbf6f7a6e9 -r 12dc3fdcb877 audio/timidity/Makefile
--- a/audio/timidity/Makefile Sun Apr 18 18:41:19 2004 +0000
+++ b/audio/timidity/Makefile Sun Apr 18 18:41:51 2004 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index