diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-27 13:18:42 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-27 13:18:42 +0000 |
commit | 4a5000181bdbf13467bcdb536548af37352f2263 (patch) | |
tree | bd37d24965e77eaf4e3ba6d27ce66de58bcc33a0 | |
parent | 050742c0187371c5c54876c7bd047ee9d55fc206 (diff) | |
download | ports-4a5000181bdbf13467bcdb536548af37352f2263.tar.gz ports-4a5000181bdbf13467bcdb536548af37352f2263.zip |
databases/grass7: check for omp.h on all architectures
-rw-r--r-- | databases/grass7/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile index 64d5aef845f5..2399e2998d98 100644 --- a/databases/grass7/Makefile +++ b/databases/grass7/Makefile @@ -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 |