mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
deskutils/gtimer: Fix build with llvm16
- Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a93afe3da1
commit
5c61e9cc04
@ -12,13 +12,20 @@ LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= xdg-open:devel/xdg-utils
|
||||
|
||||
USES= gettext perl5 gmake gnome pkgconfig xorg
|
||||
USE_XORG= x11 xscrnsaver
|
||||
USES= gettext gmake gnome localbase perl5 pkgconfig xorg
|
||||
USE_GNOME= gtk20
|
||||
USE_XORG= x11 xscrnsaver
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type
|
||||
LIBS+= -L${LOCALBASE}/lib -lX11
|
||||
CPPFLAGS+= -Wno-return-type
|
||||
LIBS+= -lX11
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|1.1.7|${PORTVERSION}|g' ${WRKSRC}/configure
|
||||
|
Loading…
Reference in New Issue
Block a user