aboutsummaryrefslogtreecommitdiff
path: root/finance/expense
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-18 04:38:58 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-18 04:56:23 +0000
commit944d53ea8c439dbb4caa5e940ef610c93b3f7e73 (patch)
tree53310dc873c7d083da442011b00c5129145b4618 /finance/expense
parentf8c350fc4da8a3b6be4ad970cc8b72913d6af9e0 (diff)
downloadports-944d53ea8c439dbb4caa5e940ef610c93b3f7e73.tar.gz
ports-944d53ea8c439dbb4caa5e940ef610c93b3f7e73.zip
finance/expense: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'finance/expense')
-rw-r--r--finance/expense/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/finance/expense/Makefile b/finance/expense/Makefile
index c4b61a20b336..eabe22510461 100644
--- a/finance/expense/Makefile
+++ b/finance/expense/Makefile
@@ -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