Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2022 13:40:11 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 26ed2ece6d6b - main - databases/grass8: fix build on powerpc
Message-ID:  <202201221340.20MDeBuY023433@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26ed2ece6d6b16a10fad64f5e3cfe0f72e8e8601

commit 26ed2ece6d6b16a10fad64f5e3cfe0f72e8e8601
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-01-22 13:33:25 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-01-22 13:33:25 +0000

    databases/grass8: fix build on powerpc
    
    No libomp on powerpc.
---
 databases/grass8/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile
index 57c340fae399..89149dca84b0 100644
--- a/databases/grass8/Makefile
+++ b/databases/grass8/Makefile
@@ -73,7 +73,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}
 
@@ -119,6 +118,10 @@ PGSQL_CONFIGURE_WITH=	postgres
 GRASS_INST_DIR=	${PORTNAME}${VER}
 .endif
 
+.if ${ARCH} != powerpc
+CONFIGURE_ARGS+=	--with-openmp
+.endif
+
 MANDIRS=	${PREFIX}/grass${VER}/docs/man/man1
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201221340.20MDeBuY023433>