svn commit: r479348 - head/misc/free42

Mark Linimon linimon at FreeBSD.org
Mon Sep 10 01:55:48 UTC 2018


Author: linimon
Date: Mon Sep 10 01:55:47 2018
New Revision: 479348
URL: https://svnweb.freebsd.org/changeset/ports/479348

Log:
  Try but fail to fix build on gcc-based archs.  The changes are necessary but
  insufficient.  At least the failure is now consistent across tier-2.  This
  change should have no effect on clang-based archs.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/misc/free42/Makefile

Modified: head/misc/free42/Makefile
==============================================================================
--- head/misc/free42/Makefile	Mon Sep 10 01:52:59 2018	(r479347)
+++ head/misc/free42/Makefile	Mon Sep 10 01:55:47 2018	(r479348)
@@ -16,17 +16,19 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BROKEN_aarch64=		fails to link: c++: error: no such file or directory: 'gcc111libbid.a'
 BROKEN_armv6=		fails to link: c++: error: no such file or directory: 'gcc111libbid.a'
 BROKEN_mips64=		fails to link: c++: error: no such file or directory: 'gcc111libbid.a'
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wno-c++11-narrowing"
+BROKEN_powerpc64=	fails to link: c++: error: no such file or directory: 'gcc111libbid.a'
 
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
-USES=		dos2unix gmake localbase pkgconfig tar:tgz
+USES=		compiler dos2unix gmake localbase pkgconfig tar:tgz
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango
 USE_XORG=	x11 xmu
 DOS2UNIX_FILES=	gtk/IntelRDFPMathLib20U1/LIBRARY/float128/op_system.h gtk/IntelRDFPMathLib20U1/LIBRARY/float128/architecture.h
 
-CXXFLAGS+=	-Wno-c++11-narrowing -Wno-constant-conversion # to accommodate some code breaking with clang-50
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-c++11-narrowing -Wno-constant-conversion # to accommodate some code breaking with clang-50
+
 BUILD_WRKSRC=	${WRKSRC}/gtk
 
 VARIANTS=	bin dec


More information about the svn-ports-head mailing list