Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2015 22:39:55 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r384075 - branches/2015Q2/multimedia/mp4v2
Message-ID:  <201504152239.t3FMdtUm035247@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Apr 15 22:39:54 2015
New Revision: 384075
URL: https://svnweb.freebsd.org/changeset/ports/384075

Log:
  MFH: r384074
  
  Fix build with GCC on recent head kernel by disabling PCH for GCC
  
  With hat:	portmgr

Modified:
  branches/2015Q2/multimedia/mp4v2/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/multimedia/mp4v2/Makefile
==============================================================================
--- branches/2015Q2/multimedia/mp4v2/Makefile	Wed Apr 15 22:38:24 2015	(r384074)
+++ branches/2015Q2/multimedia/mp4v2/Makefile	Wed Apr 15 22:39:54 2015	(r384075)
@@ -11,10 +11,17 @@ MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Library and tools to read, create, and modify mp4 files
 
 CONFLICTS=	mpeg4ip-libmp4v2-[0-9.]*
-USES=		gmake libtool tar:bzip2
+USES=		compiler gmake libtool tar:bzip2
 MAKEFILE=	GNUmakefile
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ENV=	"FOUND_HELP2MAN=no"
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
+.if ${COMPILER_TYPE} == gcc
+CONFIGURE_ARGS=	--disable-gch
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504152239.t3FMdtUm035247>