Index: head/devel/hyperscan/Makefile =================================================================== --- head/devel/hyperscan/Makefile (revision 437397) +++ head/devel/hyperscan/Makefile (revision 437398) @@ -1,55 +1,54 @@ # $FreeBSD$ PORTNAME= hyperscan -PORTVERSION= 4.4.0 +PORTVERSION= 4.4.1 DISTVERSIONPREFIX= v CATEGORIES= devel textproc MASTER_SITES= SF/boost/boost/1.61.0:boost DISTFILES= boost_1_61_0.tar.gz:boost MAINTAINER= vsevolod@FreeBSD.org COMMENT= High-performance multiple regex matching library LICENSE= BSD3CLAUSE BUILD_DEPENDS= ragel:devel/ragel USE_GITHUB= yes GH_ACCOUNT= 01org -USES= compiler:c++11-lib cmake:outsource pathfix python:build pkgconfig sqlite:3 +USES= compiler:c++11-lib cmake:outsource pathfix python:build ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= SSSE3 is required for work OPTIONS_DEFINE= SHARED NATIVE SHARED_DESC= Build shared library NATIVE_DESC= Build with native CPU tunes OPTIONS_DEFAULT= SHARED -.ifndef DEBUG_FLAGS -CMAKE_BUILD_TYPE= Release -.else -CMAKE_BUILD_TYPE= Debug -.endif - CMAKE_ARGS+= -DBOOST_ROOT=${WRKDIR}/boost_1_61_0 -.include +NATIVE_CXXFLAGS= -march=native -mtune=native +NATIVE_CFLAGS= -march=native -mtune=native -.if ${PORT_OPTIONS:MNATIVE} -CXXFLAGS+= -march=native -mtune=native -CFLAGS+= -march=native -mtune=native -.else -CXXFLAGS+= -march=core2 -CFLAGS+= -march=core2 -.endif +NATIVE_CXXFLAGS_OFF= -march=core2 +NATIVE_CFLAGS_OFF= -march=core2 +.include + .if ${PORT_OPTIONS:MSHARED} CMAKE_ARGS+= -DBUILD_STATIC_AND_SHARED=ON PLIST_SUB+= SHARED="" \ SOVERSION=${PORTVERSION} \ SOSHORTVERSION=${PORTVERSION:C/\.[0-9].[0-9]$//} .else PLIST_SUB+= SHARED="@comment " .endif + +# don't build hsbench tool +post-patch: + ${RM} ${WRKSRC}/tools/CMakeLists.txt + +do-test: + cd ${BUILD_WRKSRC} && ${MAKE_CMD} unit .include Index: head/devel/hyperscan/distinfo =================================================================== --- head/devel/hyperscan/distinfo (revision 437397) +++ head/devel/hyperscan/distinfo (revision 437398) @@ -1,5 +1,5 @@ -TIMESTAMP = 1487173124 +TIMESTAMP = 1490739901 SHA256 (boost_1_61_0.tar.gz) = a77c7cc660ec02704c6884fbb20c552d52d60a18f26573c9cee0788bf00ed7e6 SIZE (boost_1_61_0.tar.gz) = 104864830 -SHA256 (01org-hyperscan-v4.4.0_GH0.tar.gz) = 6ff1b47ce9888803ce6dfa8e1efbab30ec53f984410275d7a45138825af0a0d5 -SIZE (01org-hyperscan-v4.4.0_GH0.tar.gz) = 1514719 +SHA256 (01org-hyperscan-v4.4.1_GH0.tar.gz) = 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd +SIZE (01org-hyperscan-v4.4.1_GH0.tar.gz) = 1515106