summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/calc/Makefile1
-rw-r--r--math/calc/files/patch-Makefile21
2 files changed, 22 insertions, 0 deletions
diff --git a/math/calc/Makefile b/math/calc/Makefile
index 0bc997e9fee8..d60973dc3fa8 100644
--- a/math/calc/Makefile
+++ b/math/calc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= calc
PORTVERSION= 2.12.4.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF
diff --git a/math/calc/files/patch-Makefile b/math/calc/files/patch-Makefile
index 7c757d908244..7eb11b819148 100644
--- a/math/calc/files/patch-Makefile
+++ b/math/calc/files/patch-Makefile
@@ -37,6 +37,27 @@
#MANDIR= /dev/env/DJDIR/man/man1
#MANDIR= /usr/man/u_man/man1
#MANDIR= /usr/contrib/man/man1
+@@ -837,14 +837,14 @@
+ #
+ # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
+ #
+-USE_READLINE=
+-#USE_READLINE= -DUSE_READLINE
++#USE_READLINE=
++USE_READLINE= -DUSE_READLINE
+ #
+-READLINE_LIB=
+-READLINE_EXTRAS=
++#READLINE_LIB=
++#READLINE_EXTRAS=
+ #
+-#READLINE_LIB= -lreadline
+-#READLINE_EXTRAS= -lhistory -lncurses
++READLINE_LIB= -lreadline
++READLINE_EXTRAS= -lhistory -lncurses
+ #
+ #READLINE_LIB= -L/usr/gnu/lib -lreadline
+ #READLINE_EXTRAS= -lhistory -lncurses
@@ -857,7 +857,7 @@
#CALCPAGER= more
#CALCPAGER= pg