Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2021 20:07:30 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: 608389cd9c42 - main - databases/grass7: fix build on powerpc
Message-ID:  <202112152007.1BFK7UNS094178@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=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



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