diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-01-14 14:18:58 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-01-14 14:18:58 +0000 |
commit | 83d5ca9d37837b863e087ac4cc1ad80c853f29fe (patch) | |
tree | e4c76a185a735f21813bd03ca50864b5fee7c4fe /math/gau2grid | |
parent | VuXML: Add entry for p5-Template-Toolkit directory traversal bug (diff) |
math/gau2grid: remove -march=native, unbreak on i386 and powerpc64
This port added -march=native, which was against ports tree compliance, broke run-time on some amd64 and broke building on non-x86.
I have verified that it builds correctly on i386 and powerpc64 (provided -march=native is removed). It probably also builds on other architectures.
Reviewed by: linimon
MFH: 2020Q1 (fix build blanket)
Notes
Notes:
svn path=/head/; revision=523016
Diffstat (limited to 'math/gau2grid')
-rw-r--r-- | math/gau2grid/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/gau2grid/Makefile b/math/gau2grid/Makefile index 3314060428d7..db17590602b4 100644 --- a/math/gau2grid/Makefile +++ b/math/gau2grid/Makefile @@ -3,6 +3,7 @@ PORTNAME= gau2grid DISTVERSIONPREFIX= v DISTVERSION= 2.0.4 +PORTREVISION= 1 CATEGORIES= math python MAINTAINER= yuri@FreeBSD.org @@ -11,7 +12,7 @@ COMMENT= Fast computation of a gaussian and its derivative on a grid LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= amd64 i386 powerpc64 ONLY_FOR_ARCHS_REASON= BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25) BUILD_DEPENDS= ${PYNUMPY} @@ -21,4 +22,6 @@ USE_GITHUB= yes GH_ACCOUNT= dgasmith USE_LDCONFIG= yes +CMAKE_OFF= ENABLE_XHOST + .include <bsd.port.mk> |