diff --git a/math/eval/Makefile b/math/eval/Makefile index dd2fec11fefd..1093e38904ea 100644 --- a/math/eval/Makefile +++ b/math/eval/Makefile @@ -1,26 +1,32 @@ PORTNAME= eval PORTVERSION= 113 PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ftp://wuarchive.wustl.edu/pub/aminet/util/cli/ \ http://www.netsw.org/math/calc/ \ http://main.aminet.net/util/cli/ DISTNAME= Eval${PORTVERSION} EXTRACT_SUFX= .lha MAINTAINER= slaven@rezic.de COMMENT= Full featured floating point expression evaluator USES= lha readline +WRKSRC= ${WRKDIR}/Eval/source + PLIST_FILES= bin/Eval -WRKSRC= ${WRKDIR}/Eval/source +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-extract: -${LN} -s Makefile.unx ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Eval ${STAGEDIR}${PREFIX}/bin .include