diff options
author | gdt <gdt> | 2007-03-06 23:55:07 +0000 |
---|---|---|
committer | gdt <gdt> | 2007-03-06 23:55:07 +0000 |
commit | 021caa441058472f5719517a07a3aa15e426a7b0 (patch) | |
tree | fcd08119ddea12ac088c45ddd370e73d2ce20e75 /audio/sox | |
parent | 81713fe27ba44dd789e2bdc10cf5c3dc6dcf956b (diff) | |
download | pkgsrc-021caa441058472f5719517a07a3aa15e426a7b0.tar.gz |
OPTIONize the use of lame, defaulting to off, due to LICENSE= problems.
concept reviewed by dillo@
Diffstat (limited to 'audio/sox')
-rw-r--r-- | audio/sox/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile index 572975ee20a..38309922656 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.41 2007/02/23 09:05:41 wiz Exp $ +# $NetBSD: Makefile,v 1.42 2007/03/06 23:55:07 gdt Exp $ DISTNAME= sox-13.0.0 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \ http://www.cnpbagwell.com/ @@ -14,6 +15,12 @@ GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config +PKG_OPTIONS_VAR= PKG_OPTIONS.sox +PKG_SUPPORTED_OPTIONS= lame +# lame has LICENSE= issues and thus should not be SUGGESTED. +PKG_SUGGESTED_OPTIONS= +.include "../../mk/bsd.options.mk" + SUBST_CLASSES+= lrf SUBST_FILES.lrf= src/libst-config.in SUBST_SED.lrf= -e "s!@LRF@!"${LINKER_RPATH_FLAG}"!" @@ -27,7 +34,10 @@ SUBST_STAGE.gsm= pre-configure # needs obsolete FLAC API #.include "../../audio/flac/buildlink3.mk" .include "../../audio/gsm/buildlink3.mk" +.if !empty(PKG_OPTIONS:Mlame) +# This is an option due to LICENSE= issues. .include "../../audio/lame/buildlink3.mk" +.endif .include "../../audio/libmad/buildlink3.mk" .include "../../audio/libsndfile/buildlink3.mk" .include "../../audio/libsamplerate/buildlink3.mk" |