Bug 187836 - [patch] multimedia/mythtv: make sure libavcodec builds MD code
Summary: [patch] multimedia/mythtv: make sure libavcodec builds MD code
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bernhard Froehlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-22 09:00 UTC by Jan Beich
Modified: 2014-03-25 10:10 UTC (History)
0 users

See Also:


Attachments
mythtv_noprecious.diff (1.13 KB, patch)
2014-03-22 09:00 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2014-03-22 09:00:00 UTC
Same as ports/181964, actually affects any port with bundled ffmpeg/libav which inherits make(1) vars.

Fix: Define NOPRECIOUSMAKEVARS, rename $(ARCH) variable or use already patched multimedia/ffmpeg port. The following patch implements the first and the easiest fix.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-22 09:00:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->decke

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-25 10:07:00 UTC
Author: decke
Date: Tue Mar 25 10:06:55 2014
New Revision: 349119
URL: http://svnweb.freebsd.org/changeset/ports/349119
QAT: https://qat.redports.org/buildarchive/r349119/

Log:
  - Make sure libavcodec builds MD code
  - Bump PORTREVISION
  
  PR:		ports/187836
  Submitted by:	Jan Beich <jbeich@tormail.org>

Modified:
  head/multimedia/mythtv-frontend/Makefile
  head/multimedia/mythtv-frontend/files/patch-external__FFmpeg__configure
  head/multimedia/mythtv/Makefile
  head/multimedia/mythtv/files/patch-external__FFmpeg__configure

Modified: head/multimedia/mythtv-frontend/Makefile
==============================================================================
--- head/multimedia/mythtv-frontend/Makefile	Tue Mar 25 09:44:56 2014	(r349118)
+++ head/multimedia/mythtv-frontend/Makefile	Tue Mar 25 10:06:55 2014	(r349119)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mythtv-frontend
 PORTVERSION=	0.27.0.20140121
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://people.freebsd.org/~decke/distfiles/
 DISTNAME=	mythtv-${PORTVERSION}
@@ -28,6 +29,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
 USE_QT4=	gui sql network script linguist_build l10n sql-mysql_run \
 		moc_build qmake_build rcc_build uic_build

Modified: head/multimedia/mythtv-frontend/files/patch-external__FFmpeg__configure
==============================================================================
--- head/multimedia/mythtv-frontend/files/patch-external__FFmpeg__configure	Tue Mar 25 09:44:56 2014	(r349118)
+++ head/multimedia/mythtv-frontend/files/patch-external__FFmpeg__configure	Tue Mar 25 10:06:55 2014	(r349119)
@@ -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

Modified: head/multimedia/mythtv/Makefile
==============================================================================
--- head/multimedia/mythtv/Makefile	Tue Mar 25 09:44:56 2014	(r349118)
+++ head/multimedia/mythtv/Makefile	Tue Mar 25 10:06:55 2014	(r349119)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mythtv
 PORTVERSION=	0.27.0.20140121
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://people.freebsd.org/~decke/distfiles/
 
@@ -28,6 +29,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

Modified: head/multimedia/mythtv/files/patch-external__FFmpeg__configure
==============================================================================
--- head/multimedia/mythtv/files/patch-external__FFmpeg__configure	Tue Mar 25 09:44:56 2014	(r349118)
+++ head/multimedia/mythtv/files/patch-external__FFmpeg__configure	Tue Mar 25 10:06:55 2014	(r349119)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Bernhard Froehlich freebsd_committer freebsd_triage 2014-03-25 10:07:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!