Compile calc with readline support.

This allows history searches, vi-mode editing etc.

PR:		ports/161262
Submitted by:	Momchil Ivanov <momchil@xaxo.eu>
This commit is contained in:
Johan van Selst 2011-10-03 20:57:36 +00:00
parent e0b97bfc06
commit 9ad7b99b51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282892
2 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= calc
PORTVERSION= 2.12.4.3
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF

View File

@ -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