svn commit: r538331 - head/devel/xeus
Yuri Victorovich
yuri at FreeBSD.org
Tue Jun 9 17:32:13 UTC 2020
Author: yuri
Date: Tue Jun 9 17:32:12 2020
New Revision: 538331
URL: https://svnweb.freebsd.org/changeset/ports/538331
Log:
devel/xeus: Unbreak on systems incompatible with the system where the package was built
-march=native caused SEGVs on incompatible systems
The cmake option that turned it off was renamed. I also added the NATIVE option that now drives the -march flag.
MFH: 2020Q2
Modified:
head/devel/xeus/Makefile
Modified: head/devel/xeus/Makefile
==============================================================================
--- head/devel/xeus/Makefile Tue Jun 9 17:09:46 2020 (r538330)
+++ head/devel/xeus/Makefile Tue Jun 9 17:32:12 2020 (r538331)
@@ -2,6 +2,7 @@
PORTNAME= xeus
DISTVERSION= 0.23.14
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri at FreeBSD.org
@@ -23,6 +24,10 @@ GH_ACCOUNT= jupyter-xeus
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_STATIC_LIBS
-CMAKE_ON= DISABLE_ARCH_NATIVE
+
+OPTIONS_DEFINE= NATIVE
+NATIVE_DESC= Build with native optimizations (-march=native)
+NATIVE_CMAKE_ON= -DXEUS_DISABLE_ARCH_NATIVE=OFF
+NATIVE_CMAKE_OFF= -DXEUS_DISABLE_ARCH_NATIVE=ON
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list