Skip to content

Commit

Permalink
x11-fm/polo: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 18, 2023
1 parent 2367976 commit 09e56dc
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions x11-fm/polo/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORTNAME= polo
DISTVERSIONPREFIX= v
DISTVERSION= 18.8-beta
PORTREVISION= 3
DISTVERSIONPREFIX= v
CATEGORIES= x11-fm

MAINTAINER= gnome@FreeBSD.org
Expand All @@ -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
Expand Down

0 comments on commit 09e56dc

Please sign in to comment.