diff options
author | Johan van Selst <johans@FreeBSD.org> | 2011-10-03 20:57:36 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2011-10-03 20:57:36 +0000 |
commit | 9ad7b99b51edff6b884f7194abeb32a2e5d21aaa (patch) | |
tree | ec09e6a1156d79ec21be3c97fef48a060867876f /math/calc | |
parent | Update xboard to 4.5.3 (diff) |
Compile calc with readline support.
This allows history searches, vi-mode editing etc.
PR: ports/161262
Submitted by: Momchil Ivanov <momchil@xaxo.eu>
Notes
Notes:
svn path=/head/; revision=282892
Diffstat (limited to 'math/calc')
-rw-r--r-- | math/calc/Makefile | 1 | ||||
-rw-r--r-- | math/calc/files/patch-Makefile | 21 |
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 |