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 + +.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