diff options
author | gdt <gdt@pkgsrc.org> | 2007-03-06 23:55:07 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2007-03-06 23:55:07 +0000 |
commit | 85ffd1d2aec6a7ba9e7feef5a4bcd41dcc20d1c5 (patch) | |
tree | fcd08119ddea12ac088c45ddd370e73d2ce20e75 /audio | |
parent | e174ef27155bab9c2a15ff9aa28872703222c130 (diff) | |
download | pkgsrc-85ffd1d2aec6a7ba9e7feef5a4bcd41dcc20d1c5.tar.gz |
OPTIONize the use of lame, defaulting to off, due to LICENSE= problems.
concept reviewed by dillo@
Diffstat (limited to 'audio')
-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" |