This package already depends on ncurses, so let's just use the ncurses

library instead of termcap, which allows compilation under Linux (or other
OS that don't have libtermcap in the base system).
This commit is contained in:
jschauma 2004-06-02 21:08:33 +00:00
parent cca49ac782
commit 78f1dc8bf9
2 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.9 2004/03/10 18:17:11 wiz Exp $
$NetBSD: distinfo,v 1.10 2004/06/02 21:08:33 jschauma Exp $
SHA1 (calc-2.11.9.2.tar.gz) = b7fc42c53e140159b753688373ed17c18d49cd59
Size (calc-2.11.9.2.tar.gz) = 959025 bytes
SHA1 (patch-aa) = 55ac789f43cb8616a0b8917de707c6ff8f3520ea
SHA1 (patch-aa) = c3a844e295831e9d034774435c820c7ce4fdba37

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
$NetBSD: patch-aa,v 1.5 2004/06/02 21:08:33 jschauma Exp $
--- Makefile.orig 2004-02-23 11:57:13.000000000 +0100
+++ Makefile
@@ -594,7 +594,7 @@ HAVE_UNUSED=
--- Makefile.orig 2004-02-23 05:57:13.000000000 -0500
+++ Makefile 2004-06-02 17:01:16.000000000 -0400
@@ -594,7 +594,7 @@
#INCDIR= /usr/local/include
#INCDIR= /dev/env/DJDIR/include
@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
# Where to install calc realted things
#
@@ -621,15 +621,15 @@ INCDIR= /usr/include
@@ -621,15 +621,15 @@
#
#BINDIR= /usr/local/bin
#BINDIR= /dev/env/DJDIR/bin
@ -30,7 +30,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#CALC_INCDIR= /usr/local/include/calc
#CALC_INCDIR= /dev/env/DJDIR/include/calc
@@ -703,7 +703,7 @@ T=
@@ -703,7 +703,7 @@
#MANDIR=
#MANDIR= /usr/local/man/man1
#MANDIR= /usr/man/man1
@ -39,7 +39,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#MANDIR= /dev/env/DJDIR/man/man1
#MANDIR= /usr/man/u_man/man1
#MANDIR= /usr/contrib/man/man1
@@ -714,7 +714,7 @@ MANDIR= /usr/share/man/man1
@@ -714,7 +714,7 @@
#
# Use CATDIR= to disable installation of the calc cat (formatted) page.
#
@ -48,7 +48,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#CATDIR= /usr/local/man/cat1
#CATDIR= /usr/local/catman/cat1
#CATDIR= /usr/man/cat1
@@ -735,9 +735,9 @@ MANEXT= 1
@@ -735,9 +735,9 @@
#
# This is ignored if CATDIR is empty.
#
@ -60,7 +60,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#CATEXT= l
# how to format a man page
@@ -763,8 +763,8 @@ CATEXT= 1
@@ -763,8 +763,8 @@
# and CATDIR to empty and ignore the NROFF, NROFF_ARG and MANMAKE
# lines below.
#
@ -71,7 +71,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#NROFF= groff
NROFF_ARG= -man
#NROFF_ARG= -mandoc
@@ -808,10 +808,10 @@ CALCRC= ${CALC_SHAREDIR}/startup:~/.calc
@@ -808,10 +808,10 @@
#
# If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
#
@ -81,11 +81,11 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
+USE_READLINE= -DUSE_READLINE
#
-READLINE_LIB=
+READLINE_LIB= -lreadline -ltermcap
+READLINE_LIB= -lreadline -lncurses
#READLINE_LIB= -lreadline -lhistory -lncurses
#READLINE_LIB= -L/usr/gnu/lib -lreadline -lhistory -lncurses
#READLINE_LIB= -L/usr/local/lib -lreadline -lhistory -lncurses
@@ -824,10 +824,10 @@ READLINE_INCLUDE=
@@ -824,10 +824,10 @@
#
# Select CALCPAGER= less.exe -ci for DJGPP.
#
@ -98,7 +98,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#CALCPAGER= less.exe -ci
# Debug/Optimize options for ${CC} and ${LCC}
@@ -852,7 +852,7 @@ CALCPAGER= more
@@ -852,7 +852,7 @@
#
#DEBUG= -O3
#DEBUG= -O3 -g
@ -107,7 +107,7 @@ $NetBSD: patch-aa,v 1.4 2004/03/10 18:17:11 wiz Exp $
#DEBUG= -O3 -ipa
#DEBUG= -O3 -g3 -ipa
#
@@ -1008,10 +1008,10 @@ CCWARN= -Wall -W -Wno-comment
@@ -1008,10 +1008,10 @@
CCOPT= ${DEBUG} ${NO_SHARED}
CCMISC=
#