diff --git a/news/lusernet/Makefile b/news/lusernet/Makefile index d8cf766302e8..7c76a41f7c28 100644 --- a/news/lusernet/Makefile +++ b/news/lusernet/Makefile @@ -1,20 +1,26 @@ PORTNAME= lusernet PORTVERSION= 0.4.2 PORTREVISION= 12 CATEGORIES= news gnustep MASTER_SITES= LOCAL/dinoex DISTNAME= LuserNET-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep news reader LICENSE= GPLv2 USES= gnustep USE_GNUSTEP= back build LIB_DEPENDS= libPantomime.so:mail/pantomime +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/LuserNET.app/LuserNET .include