git: e121bdb705c1 - main - science/gabedit: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jun 15 08:42:25 UTC 2021


The branch main has been updated by pkubaj:

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

commit e121bdb705c1e02bd82aa0c158cc3d250c5b4e1e
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-15 08:41:21 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-15 08:41:21 +0000

    science/gabedit: fix build on powerpc
    
    LLVM on powerpc doesn't have libomp.
---
 science/gabedit/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile
index e2fe88703efc..8e0b40cd0206 100644
--- a/science/gabedit/Makefile
+++ b/science/gabedit/Makefile
@@ -37,6 +37,7 @@ PLIST_FILES+=	share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png
 
 OPTIONS_DEFINE=		OPENMP
 OPTIONS_DEFAULT=	OPENMP
+OPTIONS_EXCLUDE_powerpc=	OPENMP
 
 post-patch:
 	@${REINPLACE_CMD} 's|/usr/|${PREFIX}/|; s| -O2| ${CFLAGS}|; s|gcc|${CC}|' ${WRKSRC}/CONFIG


More information about the dev-commits-ports-main mailing list