databases/grass7: check for omp.h on all architectures

This commit is contained in:
Piotr Kubaj
2022-04-27 13:18:42 +00:00
parent 050742c018
commit 4a5000181b

View File

@@ -131,6 +131,10 @@ SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_F
ZSTD_CONFIGURE_WITH= zstd
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
.if exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --with-openmp
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
@@ -140,10 +144,6 @@ 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