diff options
author | shattered <shattered@pkgsrc.org> | 2010-10-27 21:05:37 +0000 |
---|---|---|
committer | shattered <shattered@pkgsrc.org> | 2010-10-27 21:05:37 +0000 |
commit | 413bea5c4ab44cbfe265e3ed4b1e9b91925d667f (patch) | |
tree | 34e0be4ddc10ade7e7dc287ca4fafabab45592af /audio | |
parent | 601dc45564eb251f8c259db6ddcfc2623b0f7352 (diff) | |
download | pkgsrc-413bea5c4ab44cbfe265e3ed4b1e9b91925d667f.tar.gz |
Don't accidentally compile in OSS support if oss option is unset.
Revision++
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sox/Makefile | 3 | ||||
-rw-r--r-- | audio/sox/options.mk | 9 |
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 |