summaryrefslogtreecommitdiff
path: root/audio/sox
diff options
context:
space:
mode:
authorshattered <shattered>2010-10-27 21:05:37 +0000
committershattered <shattered>2010-10-27 21:05:37 +0000
commit4ab70eb6584daa0cbcbe91f64b4e23e4286e99eb (patch)
tree34e0be4ddc10ade7e7dc287ca4fafabab45592af /audio/sox
parentacb627bb94eb57db1348606a1f27d8ab22cbf02b (diff)
downloadpkgsrc-4ab70eb6584daa0cbcbe91f64b4e23e4286e99eb.tar.gz
Don't accidentally compile in OSS support if oss option is unset.
Revision++
Diffstat (limited to 'audio/sox')
-rw-r--r--audio/sox/Makefile3
-rw-r--r--audio/sox/options.mk9
2 files changed, 8 insertions, 4 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 33e49bdfe69..63c021de82b 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2010/07/23 13:25:54 adam Exp $
+# $NetBSD: Makefile,v 1.51 2010/10/27 21:05:37 shattered Exp $
DISTNAME= sox-14.3.1
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
diff --git a/audio/sox/options.mk b/audio/sox/options.mk
index 783d4828bcf..0ad7a2a7fa4 100644
--- a/audio/sox/options.mk
+++ b/audio/sox/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2010/07/23 07:55:12 adam Exp $
+# $NetBSD: options.mk,v 1.4 2010/10/27 21:05:37 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sox
PKG_SUPPORTED_OPTIONS= lame oss
@@ -11,6 +11,9 @@ PKG_SUGGESTED_OPTIONS=
.include "../../audio/lame/buildlink3.mk"
.endif
-.if empty(PKG_OPTIONS:Moss)
-CONFIGURE_ARGS+= --without-oss
+.if !empty(PKG_OPTIONS:Moss)
+CONFIGURE_ARGS+= --enable-oss=yes
+.include "../../mk/oss.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --enable-oss=no
.endif