summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2010-10-27 21:05:37 +0000
committershattered <shattered@pkgsrc.org>2010-10-27 21:05:37 +0000
commitb6a9d6c802b1b3345d8f7f590f65f0aa684a6a6a (patch)
tree34e0be4ddc10ade7e7dc287ca4fafabab45592af /audio
parentf61c0ca1eced05e9fe1826883d2fa4ed1e4b095c (diff)
downloadpkgsrc-b6a9d6c802b1b3345d8f7f590f65f0aa684a6a6a.tar.gz
Don't accidentally compile in OSS support if oss option is unset.
Revision++
Diffstat (limited to 'audio')
-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