From owner-svn-ports-head@freebsd.org Sat Apr 1 08:50:09 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD7A8D27DE5; Sat, 1 Apr 2017 08:50:09 +0000 (UTC) (envelope-from vsevolod@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B743168; Sat, 1 Apr 2017 08:50:09 +0000 (UTC) (envelope-from vsevolod@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v318o86e042672; Sat, 1 Apr 2017 08:50:08 GMT (envelope-from vsevolod@FreeBSD.org) Received: (from vsevolod@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v318o8iY042670; Sat, 1 Apr 2017 08:50:08 GMT (envelope-from vsevolod@FreeBSD.org) Message-Id: <201704010850.v318o8iY042670@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vsevolod set sender to vsevolod@FreeBSD.org using -f From: Vsevolod Stakhov Date: Sat, 1 Apr 2017 08:50:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437398 - head/devel/hyperscan X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 08:50:09 -0000 Author: vsevolod Date: Sat Apr 1 08:50:08 2017 New Revision: 437398 URL: https://svnweb.freebsd.org/changeset/ports/437398 Log: - use options helpers - don't build hsbench (was not installed anyway) and remove sqlite from depends - add tests target - pkgconfig is not used during build, remove it from USES - CMAKE_BUILD_TYPE=Debug added by Mk/Uses/cmake.mk when WITH_DEBUG is set, remove it from port's Makefile PR: 218275 Submitted by: Anton Yuzhaninov Modified: head/devel/hyperscan/Makefile head/devel/hyperscan/distinfo Modified: head/devel/hyperscan/Makefile ============================================================================== --- head/devel/hyperscan/Makefile Sat Apr 1 08:44:29 2017 (r437397) +++ head/devel/hyperscan/Makefile Sat Apr 1 08:50:08 2017 (r437398) @@ -1,7 +1,7 @@ # $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 @@ -16,7 +16,7 @@ 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 @@ -25,23 +25,15 @@ 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 @@ -52,4 +44,11 @@ PLIST_SUB+= SHARED="" \ 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 Modified: head/devel/hyperscan/distinfo ============================================================================== --- head/devel/hyperscan/distinfo Sat Apr 1 08:44:29 2017 (r437397) +++ head/devel/hyperscan/distinfo Sat Apr 1 08:50:08 2017 (r437398) @@ -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