git: 36294b0b40ba - main - databases/grass8: check for omp.h on all architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 13:39:58 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=36294b0b40ba1362c9df500b41712e99599d8021 commit 36294b0b40ba1362c9df500b41712e99599d8021 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-04-27 13:18:47 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-04-27 13:18:47 +0000 databases/grass8: check for omp.h on all architectures --- databases/grass8/Makefile | 8 ++++---- 1 file 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: