summaryrefslogtreecommitdiff
path: root/audio/sox/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-10-26 01:31:01 +0000
committerhubertf <hubertf>1999-10-26 01:31:01 +0000
commit728398dbd16f9d2b1e28b772d8e782dbb4cf281a (patch)
treea778f16d95892dc92ca37d3f0e81a9fed43a7a5e /audio/sox/Makefile
parenta8c1436a1c4ea8f0d4d02c04905620342536ec65 (diff)
downloadpkgsrc-728398dbd16f9d2b1e28b772d8e782dbb4cf281a.tar.gz
Fix PR 8678 by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>:
- Prevent configure from picking up any stray /dev/dsp's and believing it should use OSS - In the play script, add proper arguments if ran on NetBSD - Fix the $PATH setting in the play script
Diffstat (limited to 'audio/sox/Makefile')
-rw-r--r--audio/sox/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 18e7ecc21bb..e42a3a282e3 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1999/09/29 23:48:14 hubertf Exp $
+# $NetBSD: Makefile,v 1.12 1999/10/26 01:31:01 hubertf Exp $
# FreeBSD Id: Makefile,v 1.9 1997/02/04 10:32:34 max Exp
#
@@ -12,6 +12,14 @@ HOMEPAGE= http://home.sprynet.com/~cbagwell/sox.html
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-fast-ulaw \
--enable-fast-alaw \
- --with-sun-audio
+ --with-sun-audio \
+ --without-oss-dsp
+
+pre-build:
+ cd ${WRKSRC} ; \
+ [ -f play.BAK ] || ${MV} play play.BAK ; \
+ ${SED} \
+ -e 's|@PREFIX@|${PREFIX}|g' \
+ < play.BAK >play
.include "../../mk/bsd.pkg.mk"