aboutsummaryrefslogtreecommitdiff
path: root/databases/grass7
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-15 20:01:55 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-15 20:01:55 +0000
commit608389cd9c42d7ec348c90a3a63eab788cd13b0f (patch)
tree020e7df4d6fb9f19c63a23ea230acebd472d8bf2 /databases/grass7
parentc66a851d13783558a8fa17ffcf64759a0c1b5bab (diff)
downloadports-608389cd9c42d7ec348c90a3a63eab788cd13b0f.tar.gz
ports-608389cd9c42d7ec348c90a3a63eab788cd13b0f.zip
databases/grass7: fix build on powerpc
Not libomp on powerpc.
Diffstat (limited to 'databases/grass7')
-rw-r--r--databases/grass7/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile
index 138a7a6dbf18..bc679d1c3b3a 100644
--- a/databases/grass7/Makefile
+++ b/databases/grass7/Makefile
@@ -70,7 +70,6 @@ CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \
--with-geos=${LOCALBASE}/bin/geos-config \
--with-gdal=${LOCALBASE}/bin/gdal-config \
--with-pthread=yes \
- --with-openmp \
--prefix=${LOCALBASE} \
--exec-prefix=${LOCALBASE}
@@ -140,6 +139,10 @@ PLIST_SUB+= NOTONI386="@comment "
PLIST_SUB+= NOTONI386=""
.endif
+.if ${ARCH} != powerpc
+CONFIGURE_ARGS+= --with-openmp
+.endif
+
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}${VER}
.endif