svn commit: r384074 - head/multimedia/mp4v2

Antoine Brodin antoine at FreeBSD.org
Wed Apr 15 22:38:25 UTC 2015


Author: antoine
Date: Wed Apr 15 22:38:24 2015
New Revision: 384074
URL: https://svnweb.freebsd.org/changeset/ports/384074

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

Modified:
  head/multimedia/mp4v2/Makefile

Modified: head/multimedia/mp4v2/Makefile
==============================================================================
--- head/multimedia/mp4v2/Makefile	Wed Apr 15 21:49:53 2015	(r384073)
+++ head/multimedia/mp4v2/Makefile	Wed Apr 15 22:38:24 2015	(r384074)
@@ -11,10 +11,17 @@ MAINTAINER=	multimedia at 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>


More information about the svn-ports-all mailing list