aboutsummaryrefslogtreecommitdiff
path: root/databases/grass8
diff options
context:
space:
mode:
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: