summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/capc-calc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/math/capc-calc/Makefile b/math/capc-calc/Makefile
index 013fe130d12..bb9640644e8 100644
--- a/math/capc-calc/Makefile
+++ b/math/capc-calc/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.46 2015/08/18 07:31:12 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2017/01/05 16:52:19 roy Exp $
#
DISTNAME= calc-2.12.4.13
PKGNAME= capc-${DISTNAME:S/t/./}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calc/}
EXTRACT_SUFX= .tar.bz2
@@ -19,10 +19,13 @@ BUILD_TARGET= calc-static-only
MAKE_ENV+= BLD_TYPE=calc-static-only target=pkgsrc
MAKE_ENV+= DEBUG=${CFLAGS:M*:Q}
+# XXX Doesn't use curses, but we patch for it for readline stupidly
+FAKE_NCURSES= yes
+
INSTALL_MAKE_FLAGS+= T=${DESTDIR}
TEST_TARGET= check
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"