finance/expense: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman
2023-08-18 06:38:58 +02:00
parent f8c350fc4d
commit 944d53ea8c

View File

@@ -18,6 +18,12 @@ WRKSRC= ${WRKDIR}/Expense
PORTSCOUT= ignore:1
.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/Expense.app/Expense