Index: head/security/helib/Makefile =================================================================== --- head/security/helib/Makefile (revision 552861) +++ head/security/helib/Makefile (revision 552862) @@ -1,26 +1,27 @@ # $FreeBSD$ PORTNAME= helib DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Implementation of homomorphic encryption LICENSE= APACHE20 BROKEN_i386= no matching function for call to 'assertEq', see https://github.com/homenc/HElib/issues/342 LIB_DEPENDS= libgmp.so:math/gmp \ libntl.so:math/ntl USES= cmake compiler:c++14-lang USE_GITHUB= yes GH_ACCOUNT= homenc GH_PROJECT= HElib USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED .include Index: head/security/helib/files/patch-CMakeLists.txt =================================================================== --- head/security/helib/files/patch-CMakeLists.txt (nonexistent) +++ head/security/helib/files/patch-CMakeLists.txt (revision 552862) @@ -0,0 +1,29 @@ +--- CMakeLists.txt.orig 2020-10-21 10:59:03 UTC ++++ CMakeLists.txt +@@ -87,18 +87,6 @@ set_property(CACHE + PROPERTY + STRINGS "Debug" "RelWithDebInfo" "Release" "MinSizeRel") + +-# Creating and documenting TARGET_ARCHITECTURE cmake property +-set(TARGET_ARCHITECTURE "${TARGET_ARCHITECTURE}" +- CACHE +- STRING "Target architecture used for -march (default is native)") +-# If TARGET_ARCHITECTURE is not set use default +-if (NOT TARGET_ARCHITECTURE) +- set(TARGET_ARCHITECTURE "native" +- CACHE +- STRING "Target architecture used for -march (default is native)" +- FORCE) +-endif (NOT TARGET_ARCHITECTURE) +- + # Path containing FindGMP.cmake and FindNTL.cmake + list(APPEND CMAKE_MODULE_PATH "${HELIB_CMAKE_EXTRA_DIR}") + +@@ -150,7 +138,6 @@ endif (NOT PACKAGE_BUILD) + + # Setting flag lists to avoid polluting CMAKE_CXX_FLAGS. + # PUBLIC_HELIB_CXX_FLAGS will be exported to the installed target. +-set(PRIVATE_HELIB_CXX_FLAGS "-march=${TARGET_ARCHITECTURE}") + set(PUBLIC_HELIB_CXX_FLAGS "") + # Add extra checks during build + if (PEDANTIC_BUILD) Property changes on: head/security/helib/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property