aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-11-28 00:24:14 +0800
committerlinimon <linimon@FreeBSD.org>2018-11-28 00:24:14 +0800
commit2164e75c350a8551fa19d5e466d0af6f579c7b22 (patch)
tree067a397d15d823818eb0576739ef7774c2203cca /math
parent06bc8156a4b73c43fecda4847831d383527f6797 (diff)
downloadfreebsd-ports-gnome-2164e75c350a8551fa19d5e466d0af6f579c7b22.tar.gz
freebsd-ports-gnome-2164e75c350a8551fa19d5e466d0af6f579c7b22.tar.zst
freebsd-ports-gnome-2164e75c350a8551fa19d5e466d0af6f579c7b22.zip
-mminimal-toc needs to be added to CFLAGS on powerpc64 to build.
While here, pet portlint. PR: 233544 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'math')
-rw-r--r--math/flann/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/flann/Makefile b/math/flann/Makefile
index a6d0537633a2..5dddb2240d2f 100644
--- a/math/flann/Makefile
+++ b/math/flann/Makefile
@@ -2,8 +2,8 @@
PORTNAME= flann
DISTVERSION= 1.9.1-19
-PORTREVISION= 1
DISTVERSIONSUFFIX= -gf3a17cd
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -22,6 +22,8 @@ USE_LDCONFIG= yes
PLIST_SUB= SHL3=${DISTVERSION:C/-.*//} SHL2=${DISTVERSION:R}
+CFLAGS_powerpc64= -mminimal-toc
+
CMAKE_OFF= BUILD_PYTHON_BINDINGS BUILD_MATLAB_BINDINGS BUILD_EXAMPLES BUILD_TESTS BUILD_DOC \
USE_OPENMP # OpenMP search is broken in cmake: https://gitlab.kitware.com/cmake/cmake/issues/17474