ports/126045: multimedia/ffmpeg needs --enable-nonfree with
--enable-libamr*
Martin Matuska
mm at FreeBSD.org
Fri Aug 15 07:50:04 UTC 2008
The following reply was made to PR ports/126045; it has been noted by GNATS.
From: Martin Matuska <mm at FreeBSD.org>
To: bug-followup at FreeBSD.org, josh.carroll at gmail.com
Cc:
Subject: Re: ports/126045: multimedia/ffmpeg needs --enable-nonfree with --enable-libamr*
Date: Fri, 15 Aug 2008 09:40:56 +0200
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
More information about the freebsd-multimedia
mailing list