pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/sox Fix compile failure on Interix: Disable dire...
details: https://anonhg.NetBSD.org/pkgsrc/rev/123a88237b23
branches: trunk
changeset: 490332:123a88237b23
user: tv <tv%pkgsrc.org@localhost>
date: Mon Mar 07 12:19:16 2005 +0000
description:
Fix compile failure on Interix: Disable direct audio output on that platform.
diffstat:
audio/sox/Makefile | 22 +++++++++++++++-------
audio/sox/PLIST | 10 ----------
audio/sox/PLIST.common | 6 ++++++
audio/sox/PLIST.play | 5 +++++
4 files changed, 26 insertions(+), 17 deletions(-)
diffs (69 lines):
diff -r 5d189635cd50 -r 123a88237b23 audio/sox/Makefile
--- a/audio/sox/Makefile Mon Mar 07 12:13:19 2005 +0000
+++ b/audio/sox/Makefile Mon Mar 07 12:19:16 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2005/02/23 03:28:49 minskim Exp $
+# $NetBSD: Makefile,v 1.31 2005/03/07 12:19:16 tv Exp $
DISTNAME= sox-12.17.6
CATEGORIES= audio
@@ -13,12 +13,20 @@
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-fast-ulaw \
- --enable-fast-alaw \
- --with-sun-audio \
- --disable-oss-dsp \
- --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib \
- --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include
+CONFIGURE_ARGS+= --enable-fast-ulaw
+CONFIGURE_ARGS+= --enable-fast-alaw
+CONFIGURE_ARGS+= --disable-oss-dsp
+CONFIGURE_ARGS+= --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib
+CONFIGURE_ARGS+= --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC= ${PKGDIR}/PLIST.common
+
+.if ${OPSYS} != "Interix"
+CONFIGURE_ARGS+= --with-sun-audio
+PLIST_SRC+= ${PKGDIR}/PLIST.play
+.endif
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
diff -r 5d189635cd50 -r 123a88237b23 audio/sox/PLIST
--- a/audio/sox/PLIST Mon Mar 07 12:13:19 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2002/07/12 19:30:50 mycroft Exp $
-bin/play
-bin/rec
-bin/sox
-bin/soxmix
-man/man1/play.1
-man/man1/rec.1
-man/man1/sox.1
-man/man1/soxexam.1
-man/man1/soxmix.1
diff -r 5d189635cd50 -r 123a88237b23 audio/sox/PLIST.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sox/PLIST.common Mon Mar 07 12:19:16 2005 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.common,v 1.1 2005/03/07 12:19:16 tv Exp $
+bin/sox
+bin/soxmix
+man/man1/sox.1
+man/man1/soxexam.1
+man/man1/soxmix.1
diff -r 5d189635cd50 -r 123a88237b23 audio/sox/PLIST.play
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sox/PLIST.play Mon Mar 07 12:19:16 2005 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.play,v 1.1 2005/03/07 12:19:16 tv Exp $
+bin/play
+bin/rec
+man/man1/play.1
+man/man1/rec.1
Home |
Main Index |
Thread Index |
Old Index