Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2020 17:44:02 +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: r538515 - head/editors/neovim
Message-ID:  <202006111744.05BHi2Yi039533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Jun 11 17:44:02 2020
New Revision: 538515
URL: https://svnweb.freebsd.org/changeset/ports/538515

Log:
  editors/neovim: fix build on powerpc64 elfv2
  
  Use GCC instead of Clang, Clang-compiled binary crashes at testing. Strangely, it doesn't crash when built with WITH_DEBUG=yes, but that makes debugging hard.

Modified:
  head/editors/neovim/Makefile

Modified: head/editors/neovim/Makefile
==============================================================================
--- head/editors/neovim/Makefile	Thu Jun 11 17:30:21 2020	(r538514)
+++ head/editors/neovim/Makefile	Thu Jun 11 17:44:02 2020	(r538515)
@@ -57,6 +57,12 @@ NLS_USES=	gettext
 PYNVIM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR}
 PYNVIM_USES=		python:run
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+USES+=		compiler:gcc-c++11-lib
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e \
 		's|lua_objlen|lua_rawlen| ; \



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