View | Details | Raw Unified | Return to bug 218275
Collapse All | Expand All

(-)Makefile (-16 / +15 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	hyperscan
3
PORTNAME=	hyperscan
4
PORTVERSION=	4.4.0
4
PORTVERSION=	4.4.1
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	devel textproc
6
CATEGORIES=	devel textproc
7
MASTER_SITES=	SF/boost/boost/1.61.0:boost
7
MASTER_SITES=	SF/boost/boost/1.61.0:boost
Lines 16-22 BUILD_DEPENDS= ragel:devel/ragel Link Here
16
16
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	01org
18
GH_ACCOUNT=	01org
19
USES=	compiler:c++11-lib cmake:outsource pathfix python:build pkgconfig sqlite:3
19
USES=	compiler:c++11-lib cmake:outsource pathfix python:build
20
ONLY_FOR_ARCHS=	amd64
20
ONLY_FOR_ARCHS=	amd64
21
ONLY_FOR_ARCHS_REASON=	SSSE3 is required for work
21
ONLY_FOR_ARCHS_REASON=	SSSE3 is required for work
22
22
Lines 25-47 SHARED_DESC= Build shared library Link Here
25
NATIVE_DESC=		Build with native CPU tunes
25
NATIVE_DESC=		Build with native CPU tunes
26
OPTIONS_DEFAULT=	SHARED
26
OPTIONS_DEFAULT=	SHARED
27
27
28
.ifndef DEBUG_FLAGS
29
CMAKE_BUILD_TYPE=	Release
30
.else
31
CMAKE_BUILD_TYPE=	Debug
32
.endif
33
34
CMAKE_ARGS+=	-DBOOST_ROOT=${WRKDIR}/boost_1_61_0
28
CMAKE_ARGS+=	-DBOOST_ROOT=${WRKDIR}/boost_1_61_0
35
29
36
.include <bsd.port.options.mk>
30
NATIVE_CXXFLAGS=	-march=native -mtune=native
31
NATIVE_CFLAGS=		-march=native -mtune=native
37
32
38
.if ${PORT_OPTIONS:MNATIVE}
33
NATIVE_CXXFLAGS_OFF=	-march=core2
39
CXXFLAGS+=	-march=native -mtune=native
34
NATIVE_CFLAGS_OFF=	-march=core2
40
CFLAGS+=	-march=native -mtune=native
35
41
.else
36
.include <bsd.port.options.mk>
42
CXXFLAGS+=	-march=core2
43
CFLAGS+=	-march=core2
44
.endif
45
37
46
.if ${PORT_OPTIONS:MSHARED}
38
.if ${PORT_OPTIONS:MSHARED}
47
CMAKE_ARGS+=	-DBUILD_STATIC_AND_SHARED=ON
39
CMAKE_ARGS+=	-DBUILD_STATIC_AND_SHARED=ON
Lines 52-55 PLIST_SUB+= SHARED="" \ Link Here
52
PLIST_SUB+=	SHARED="@comment "
44
PLIST_SUB+=	SHARED="@comment "
53
.endif
45
.endif
54
46
47
# don't build hsbench tool
48
post-patch:
49
	${RM} ${WRKSRC}/tools/CMakeLists.txt
50
51
do-test:
52
	cd ${BUILD_WRKSRC} && ${MAKE_CMD} unit
53
55
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1487173124
1
TIMESTAMP = 1490739901
2
SHA256 (boost_1_61_0.tar.gz) = a77c7cc660ec02704c6884fbb20c552d52d60a18f26573c9cee0788bf00ed7e6
2
SHA256 (boost_1_61_0.tar.gz) = a77c7cc660ec02704c6884fbb20c552d52d60a18f26573c9cee0788bf00ed7e6
3
SIZE (boost_1_61_0.tar.gz) = 104864830
3
SIZE (boost_1_61_0.tar.gz) = 104864830
4
SHA256 (01org-hyperscan-v4.4.0_GH0.tar.gz) = 6ff1b47ce9888803ce6dfa8e1efbab30ec53f984410275d7a45138825af0a0d5
4
SHA256 (01org-hyperscan-v4.4.1_GH0.tar.gz) = 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd
5
SIZE (01org-hyperscan-v4.4.0_GH0.tar.gz) = 1514719
5
SIZE (01org-hyperscan-v4.4.1_GH0.tar.gz) = 1515106

Return to bug 218275