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

(-)b/devel/py-tables/Makefile (+10 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	tables
3
PORTNAME=	tables
4
PORTVERSION=	3.6.1
4
PORTVERSION=	3.6.1
5
PORTREVISION=	1
5
CATEGORIES=	devel python
6
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 28-33 USE_PYTHON= autoplist concurrent distutils cython Link Here
28
PORTEXAMPLES=	*
29
PORTEXAMPLES=	*
29
30
30
OPTIONS_DEFINE=		EXAMPLES
31
OPTIONS_DEFINE=		EXAMPLES
32
OPTIONS_DEFINE_amd64=		AVX2
33
34
AVX2_DESC=	Enable Haswell New Instructions (AVX2) support
35
36
# Explicitly disable AVX2 otherwise it will be automatically enabled if the CPU
37
# supports it.  If compiled in and run on hosts that have no AVX2 support, it
38
# will trigger a SIGILL (Illegal instruction)
39
# See also: https://github.com/PyTables/PyTables/issues/841
40
AVX2_VARS_OFF=	MAKE_ENV+=DISABLE_AVX2=yes
31
41
32
post-patch:
42
post-patch:
33
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
43
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py

Return to bug 258714