Date: Tue, 9 Jun 2020 20:29:48 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538341 - head/devel/xeus-cling Message-ID: <202006092029.059KTmJ1045155@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jun 9 20:29:48 2020 New Revision: 538341 URL: https://svnweb.freebsd.org/changeset/ports/538341 Log: devel/xeus-cling: Unbreak on systems incompatible with the system where the package was built -march=native caused SEGVs on incompatible systems Also add USE_LDFLAGS. MFH: 2020Q2 Modified: head/devel/xeus-cling/Makefile Modified: head/devel/xeus-cling/Makefile ============================================================================== --- head/devel/xeus-cling/Makefile Tue Jun 9 19:57:08 2020 (r538340) +++ head/devel/xeus-cling/Makefile Tue Jun 9 20:29:48 2020 (r538341) @@ -2,6 +2,7 @@ PORTNAME= xeus-cling DISTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -24,7 +25,14 @@ LIB_DEPENDS= libclingInterpreter.so:lang/cling \ USES= cmake compiler:c++14-lang pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= jupyter-xeus +USE_LDCONFIG= yes LDFLAGS+= ${LOCALBASE}/lib/libLLVMSupport.so ${LOCALBASE}/lib/libclangAST.so -pthread # https://github.com/jupyter-xeus/xeus-cling/issues/234 + +OPTIONS_DEFINE= NATIVE + +NATIVE_DESC= Build with native optimizations (-march=native) +NATIVE_CMAKE_ON= -DDISABLE_ARCH_NATIVE=OFF +NATIVE_CMAKE_OFF= -DDISABLE_ARCH_NATIVE=ON .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006092029.059KTmJ1045155>