Date: Tue, 9 Jun 2020 23:13:36 +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: r538354 - head/security/nflib Message-ID: <202006092313.059NDa3t051245@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jun 9 23:13:36 2020 New Revision: 538354 URL: https://svnweb.freebsd.org/changeset/ports/538354 Log: security/nflib: Unbreak on systems incompatible with the system where the package was built -march=native caused SEGVs on incompatible systems Modified: head/security/nflib/Makefile Modified: head/security/nflib/Makefile ============================================================================== --- head/security/nflib/Makefile Tue Jun 9 22:59:49 2020 (r538353) +++ head/security/nflib/Makefile Tue Jun 9 23:13:36 2020 (r538354) @@ -4,7 +4,7 @@ PORTNAME= nflib DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-23 DISTVERSIONSUFFIX= -g5cf40ed -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security math MAINTAINER= yuri@FreeBSD.org @@ -28,6 +28,13 @@ GH_PROJECT= NFLlib USE_LDCONFIG= yes CMAKE_ON= NFL_OPTIMIZED + +OPTIONS_DEFINE= NATIVE + +NATIVE_DESC= Build with native optimizations (-march=native) + +post-patch-NATIVE-off: + @${REINPLACE_CMD} -e 's|-march=native|| ; s|-mtune=native||' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/CMakeCompilers.txt do-test: @cd ${BUILD_WRKSRC} && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006092313.059NDa3t051245>