Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2020 01:46:53 +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: r536360 - head/devel/liboil
Message-ID:  <202005240146.04O1krq8037868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun May 24 01:46:53 2020
New Revision: 536360
URL: https://svnweb.freebsd.org/changeset/ports/536360

Log:
  devel/liboil: use GCC on powerpc64 elfv2
  
  clang fails to build this port.

Modified:
  head/devel/liboil/Makefile

Modified: head/devel/liboil/Makefile
==============================================================================
--- head/devel/liboil/Makefile	Sun May 24 01:07:57 2020	(r536359)
+++ head/devel/liboil/Makefile	Sun May 24 01:46:53 2020	(r536360)
@@ -23,4 +23,10 @@ CONFIGURE_ARGS=	--disable-gtk-doc \
 INSTALL_TARGET=	install-strip
 CFLAGS:=	${CFLAGS:N-O*} -O2
 
+.include <bsd.port.options.mk>
+
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+USES+=		compiler:gcc-c++11-lib
+.endif
+
 .include <bsd.port.mk>



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