Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2020 14:11:16 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531693 - head/graphics/graphviz
Message-ID:  <202004141411.03EEBGeE000289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 14 14:11:16 2020
New Revision: 531693
URL: https://svnweb.freebsd.org/changeset/ports/531693

Log:
  graphics/graphviz: fix build on powerpc64 elfv2
  
  Clang 10 SIGILL's during compilation of this port after upgrade to 2.44.0. Switch to GCC for the time being while this issue is being investigated.

Modified:
  head/graphics/graphviz/Makefile

Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile	Tue Apr 14 14:07:08 2020	(r531692)
+++ head/graphics/graphviz/Makefile	Tue Apr 14 14:11:16 2020	(r531693)
@@ -23,7 +23,7 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl \
 
 USES=		cpe pathfix shebangfix gmake bison groff pkgconfig \
 		libtool:keepla autoreconf localbase:ldflags jpeg \
-		compiler:c++11-lang tcl:build
+		tcl:build
 
 GNU_CONFIGURE=	yes
 # sincos is broken on armv6, see ports/220591
@@ -168,6 +168,12 @@ GO_CONFIGURE_ENABLE=		go
 NVTHREADS_LDFLAGS=	-lpthread
 
 .include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+USES+=		compiler:gcc-c++11-lib
+.else
+USES+=		compiler:c++11-lang
+.endif
 
 # allow the use localized gd ports in Makefile.local or slave ports.
 GD_PORT?=	graphics/gd



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