git: 09e56dc8e568 - main - x11-fm/polo: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 02:57:20 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=09e56dc8e568994c4f3e5f17373f0c7d5965d976 commit 09e56dc8e568994c4f3e5f17373f0c7d5965d976 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-18 01:49:19 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-18 02:57:09 +0000 x11-fm/polo: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-fm/polo/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/x11-fm/polo/Makefile b/x11-fm/polo/Makefile index 329dd8e74a7d..024dca397f4a 100644 --- a/x11-fm/polo/Makefile +++ b/x11-fm/polo/Makefile @@ -1,7 +1,7 @@ PORTNAME= polo +DISTVERSIONPREFIX= v DISTVERSION= 18.8-beta PORTREVISION= 3 -DISTVERSIONPREFIX= v CATEGORIES= x11-fm MAINTAINER= gnome@FreeBSD.org @@ -16,13 +16,23 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \ USES= desktop-file-utils gettext-tools gmake gnome pkgconfig \ vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 vte3 USE_GITHUB= yes GH_ACCOUNT= teejee2008 +USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 vte3 -WRKSRC_SUBDIR= src MAKEFILE= makefile +WRKSRC_SUBDIR= src + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-patch: @${RM} ${WRKSRC}/share/polo/files/gtk-theme/*.orig @${RM} ${WRKSRC}/share/polo/files/install-*.sh