Date: Mon, 3 Oct 2011 19:38:38 GMT From: Momchil Ivanov <momchil@xaxo.eu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/161262: patch for activating libreadline in math/calc Message-ID: <201110031938.p93JccGZ031709@red.freebsd.org> Resent-Message-ID: <201110031940.p93Je3C6007430@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161262 >Category: ports >Synopsis: patch for activating libreadline in math/calc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Oct 03 19:40:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Momchil Ivanov >Release: >Organization: >Environment: >Description: Update Makefile of the source of math/calc to compile with libreadline. This allows history searches and etc... from libreadline >How-To-Repeat: >Fix: Patch attached with submission follows: Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (revision 1091) +++ files/patch-Makefile (working copy) @@ -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 Index: Makefile =================================================================== --- Makefile (revision 1091) +++ Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= calc PORTVERSION= 2.12.4.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110031938.p93JccGZ031709>