From ce2c07350eb064d9d9bf45ed829dd5208f17c614 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 10 Sep 2018 01:55:47 +0000 Subject: 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) --- misc/free42/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'misc/free42') diff --git a/misc/free42/Makefile b/misc/free42/Makefile index d1386de0e881..4ba16fcd5f5d 100644 --- a/misc/free42/Makefile +++ b/misc/free42/Makefile @@ -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 -- cgit v1.2.3