git: 608389cd9c42 - main - databases/grass7: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Dec 2021 20:07:30 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=608389cd9c42d7ec348c90a3a63eab788cd13b0f commit 608389cd9c42d7ec348c90a3a63eab788cd13b0f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-12-15 20:01:55 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-12-15 20:01:55 +0000 databases/grass7: fix build on powerpc Not libomp on powerpc. --- databases/grass7/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile index 138a7a6dbf18..bc679d1c3b3a 100644 --- a/databases/grass7/Makefile +++ b/databases/grass7/Makefile @@ -70,7 +70,6 @@ CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ - --with-openmp \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} @@ -140,6 +139,10 @@ 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