summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorshattered <shattered>2010-10-27 21:05:37 +0000
committershattered <shattered>2010-10-27 21:05:37 +0000
commit0bd6ee65c7674055f20bf3d77a6e80b2d44ea75d (patch)
tree34e0be4ddc10ade7e7dc287ca4fafabab45592af /audio
parent37035f62e772db6349dfbec973bfb29be0d06f32 (diff)
downloadpkgsrc-0bd6ee65c7674055f20bf3d77a6e80b2d44ea75d.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