diff --git a/finance/expense/Makefile b/finance/expense/Makefile index c4b61a20b336..eabe22510461 100644 --- a/finance/expense/Makefile +++ b/finance/expense/Makefile @@ -1,24 +1,30 @@ PORTNAME= expense PORTVERSION= 0.1 PORTREVISION= 12 CATEGORIES= finance gnustep MASTER_SITES= http://www.eskimo.com/~pburns/Expense/files/ DISTNAME= Expense-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Application to track your expense under GNUstep WWW= https://www.eskimo.com/~pburns/Expense/ LICENSE= GPLv2 USES= gnustep USE_GNUSTEP= back build WRKSRC= ${WRKDIR}/Expense PORTSCOUT= ignore:1 +.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/Expense.app/Expense .include