ports/126045: multimedia/ffmpeg needs --enable-nonfree with --enable-libamr*

Josh Carroll josh.carroll at gmail.com
Fri Aug 15 13:20:04 UTC 2008


The following reply was made to PR ports/126045; it has been noted by GNATS.

From: "Josh Carroll" <josh.carroll at gmail.com>
To: "Martin Matuska" <mm at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: ports/126045: multimedia/ffmpeg needs --enable-nonfree with --enable-libamr*
Date: Fri, 15 Aug 2008 09:15:11 -0400

 2008/8/15 Martin Matuska <mm at freebsd.org>:
 > I suggest a more elegant solution without any new OPTIONS:
 >
 > Index: ports/multimedia/ffmpeg/Makefile
 > ===================================================================
 > RCS file: /home/pcvs/ports/multimedia/ffmpeg/Makefile,v
 > retrieving revision 1.87
 > diff -u -r1.87 Makefile
 > --- ports/multimedia/ffmpeg/Makefile    14 Aug 2008 22:08:02 -0000      1.87
 > +++ ports/multimedia/ffmpeg/Makefile    15 Aug 2008 07:37:31 -0000
 > @@ -140,6 +140,10 @@
 >  .endif
 >
 >  ## amr
 > +.if defined(WITH_AMR_NB) || defined(WITH_AMR_WB)
 > +CONFIGURE_ARGS+=       --enable-nonfree
 > +.endif
 > +
 >  .ifdef(WITH_AMR_NB)
 >  LIB_DEPENDS+=          amrnb.3:${PORTSDIR}/audio/libamrnb
 >  CONFIGURE_ARGS+=       --enable-libamr-nb
 >
 
 I did the same thing, but because a binary compiled with amr-nb/amr-wb
 is no longer distributable, I decided to make it more visible to the
 user and make them aware of the options they were choosing.
 
 However, since the amr library options are non-default, having less
 knobs for the user is fine. I was just being overly cautious I
 suppose.
 
 Josh


More information about the freebsd-multimedia mailing list