Date: Sat, 22 Mar 2014 08:58:13 GMT From: Jan Beich <jbeich@tormail.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187836: [patch] multimedia/mythtv: make sure libavcodec builds MD code Message-ID: <201403220858.s2M8wDli001847@cgiserv.freebsd.org> Resent-Message-ID: <201403220900.s2M901tS030756@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187836 >Category: ports >Synopsis: [patch] multimedia/mythtv: make sure libavcodec builds MD code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 22 09:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: 10.0-RELEASE amd64 >Organization: >Environment: http://forums.freebsd.org/viewtopic.php?f=5&t=45299 >Description: Same as ports/181964, actually affects any port with bundled ffmpeg/libav which inherits make(1) vars. >How-To-Repeat: >Fix: Define NOPRECIOUSMAKEVARS, rename $(ARCH) variable or use already patched multimedia/ffmpeg port. The following patch implements the first and the easiest fix. --- mythtv_noprecious.diff begins here --- Index: multimedia/mythtv/Makefile =================================================================== --- multimedia/mythtv/Makefile (revision 348759) +++ multimedia/mythtv/Makefile (working copy) @@ -28,6 +28,7 @@ GH_COMMIT= 5a5e1cd WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/${GH_PROJECT} ONLY_FOR_ARCHS= i386 amd64 +NOPRECIOUSMAKEVARS= # don't override $(ARCH) in ffmpeg makefiles USES= gmake pkgconfig perl5 USE_QT4= gui sql network script linguist_build l10n sql-mysql_run \ moc_build qmake_build rcc_build uic_build imageformats Index: multimedia/mythtv/files/patch-external__FFmpeg__configure =================================================================== --- multimedia/mythtv/files/patch-external__FFmpeg__configure (revision 348759) +++ multimedia/mythtv/files/patch-external__FFmpeg__configure (working copy) @@ -20,12 +20,3 @@ ;; # targets that do support conditional mov but on which it's slow pentium4|pentium4m|prescott|nocona) -@@ -3063,7 +3063,7 @@ - SRC_PATH_BARE=$source_path - BUILD_ROOT="$PWD" - CC_IDENT=$cc_ident --ARCH=$arch -+FFMPEG_ARCH=$arch - CC=$cc - AS=$as - LD=$ld --- mythtv_noprecious.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403220858.s2M8wDli001847>