russian/xruskb: Fix build with llvm16

- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-23 23:45:33 +02:00
parent 28c4428aa9
commit c139dc332a

View File

@ -13,9 +13,10 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2 xorg
USE_XORG= x11 ice xt xmu xext sm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share
USE_XORG= x11 ice xt xmu xext sm
PORTDOCS= *
PORTDATA= *
@ -26,6 +27,12 @@ MOTIF_USES= motif
MOTIF_CONFIGURE_ON= --with-toolkit=motif
MOTIF_CONFIGURE_OFF= --with-toolkit=none
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Xrus