1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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

This commit is contained in:
Piotr Kubaj 2022-04-27 13:18:47 +00:00
parent fc8cac15e9
commit 36294b0b40

View File

@ -109,16 +109,16 @@ PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal
PGSQL_USES= pgsql PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= postgres PGSQL_CONFIGURE_WITH= postgres
.if exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --with-openmp
.endif
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if !defined (GRASS_INST_DIR) .if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}${VER} GRASS_INST_DIR= ${PORTNAME}${VER}
.endif .endif
.if ${ARCH} != powerpc
CONFIGURE_ARGS+= --with-openmp
.endif
MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1
post-patch: post-patch: