summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-01-22 13:33:25 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-01-22 13:33:25 +0000
commit26ed2ece6d6b16a10fad64f5e3cfe0f72e8e8601 (patch)
tree77765c90f69dc4a67b0f9e03b9bde4ec63a6bd79 /databases
parentdevel/concurrencpp: fix build on powerpc64 and powerpc on 13.0-RELEASE (diff)
databases/grass8: fix build on powerpc
No libomp on powerpc.
Diffstat (limited to 'databases')
-rw-r--r--databases/grass8/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile
index 57c340fae399..89149dca84b0 100644
--- a/databases/grass8/Makefile
+++ b/databases/grass8/Makefile
@@ -73,7 +73,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}
@@ -119,6 +118,10 @@ PGSQL_CONFIGURE_WITH= postgres
GRASS_INST_DIR= ${PORTNAME}${VER}
.endif
+.if ${ARCH} != powerpc
+CONFIGURE_ARGS+= --with-openmp
+.endif
+
MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1
post-patch: