diff --git a/japanese/libskk/Makefile b/japanese/libskk/Makefile index 03323773ab02..d045e9d70004 100644 --- a/japanese/libskk/Makefile +++ b/japanese/libskk/Makefile @@ -1,40 +1,46 @@ PORTNAME= libskk DISTVERSION= 1.0.5 CATEGORIES= japanese MAINTAINER= hiroto.kagotani@gmail.com COMMENT= Library to deal with Japanese Kana-to-Kanji conversion method WWW= https://github.com/ueno/libskk LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libjson-glib-1.0.so:devel/json-glib \ libxkbcommon.so:x11/libxkbcommon USES= autoreconf gmake gnome libtool pathfix pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= ueno GNU_CONFIGURE= yes USE_GNOME= introspection:build USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= ChangeLog NEWS README CFLAGS+= -Wno-error=int-conversion OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_USES_OFF= gettext-tools +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include