Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 17:32:13 +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: r538331 - head/devel/xeus
Message-ID:  <202006091732.059HWDQZ037791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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