aboutsummaryrefslogtreecommitdiff
path: root/databases/grass8
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-27 13:18:47 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-27 13:18:47 +0000
commit36294b0b40ba1362c9df500b41712e99599d8021 (patch)
treef883df032d9b3e28c719ec795b0f98887889bf44 /databases/grass8
parentfc8cac15e913027e5a2f4f1e886de7f924d126fc (diff)
downloadports-36294b0b40ba1362c9df500b41712e99599d8021.tar.gz
ports-36294b0b40ba1362c9df500b41712e99599d8021.zip
databases/grass8: check for omp.h on all architectures
Diffstat (limited to 'databases/grass8')
-rw-r--r--databases/grass8/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile
index dfc2e75f3c4d..e58119d90a4c 100644
--- a/databases/grass8/Makefile
+++ b/databases/grass8/Makefile
@@ -109,16 +109,16 @@ PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal
PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= postgres
+.if exists(/usr/include/omp.h)
+CONFIGURE_ARGS+= --with-openmp
+.endif
+
.include <bsd.port.pre.mk>
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}${VER}
.endif
-.if ${ARCH} != powerpc
-CONFIGURE_ARGS+= --with-openmp
-.endif
-
MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1
post-patch: