diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 21:45:33 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 22:16:16 +0000 |
commit | c139dc332a11ed6e89bfd4920c4158618745e8e5 (patch) | |
tree | d5e02e8b0e8e527f72a8af19a9b33d5e029caf75 | |
parent | 28c4428aa9614c0b393ea12e6d41890ba2ba0006 (diff) | |
download | ports-c139dc332a11ed6e89bfd4920c4158618745e8e5.tar.gz ports-c139dc332a11ed6e89bfd4920c4158618745e8e5.zip |
russian/xruskb: Fix build with llvm16
- Pet portclippy
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | russian/xruskb/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile index 663b9a74aaff..cb8f1b4ac1c6 100644 --- a/russian/xruskb/Makefile +++ b/russian/xruskb/Makefile @@ -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 |