Date: Sun, 12 Jan 2025 21:43:27 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: bee8c9627536 - main - graphics/ximaging: fix build without libomp Message-ID: <202501122143.50CLhRQq097669@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=bee8c96275361369bc2c214db2b910a89084fb72 commit bee8c96275361369bc2c214db2b910a89084fb72 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-11 14:04:40 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:37:10 +0000 graphics/ximaging: fix build without libomp ld: error: unable to find library -lomp --- graphics/ximaging/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphics/ximaging/Makefile b/graphics/ximaging/Makefile index fda1f56198af..6d1cb5d14c02 100644 --- a/graphics/ximaging/Makefile +++ b/graphics/ximaging/Makefile @@ -20,6 +20,10 @@ PLIST_FILES= bin/ximaging \ etc/X11/app-defaults/XImaging \ share/man/man1/ximaging.1.gz +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhRQq097669>