Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 01:55:47 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479348 - head/misc/free42
Message-ID:  <201809100155.w8A1tlRO091101@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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