Skip to content

Commit

Permalink
news/lusernet: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 18, 2023
1 parent 8f56e8b commit e236e10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions news/lusernet/Makefile
Expand Up @@ -14,6 +14,12 @@ USES= gnustep
USE_GNUSTEP= back build
LIB_DEPENDS= libPantomime.so:mail/pantomime

.include <bsd.port.options.mk>

.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

Expand Down

0 comments on commit e236e10

Please sign in to comment.