From dd1de7226888e194f5aadeeac326ee8cdad01036 Mon Sep 17 00:00:00 2001 From: jschauma Date: Wed, 2 Jun 2004 21:08:33 +0000 Subject: 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). --- math/capc-calc/distinfo | 4 ++-- math/capc-calc/patches/patch-aa | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'math') diff --git a/math/capc-calc/distinfo b/math/capc-calc/distinfo index 56d1fa83dc2..d6c803d5c78 100644 --- a/math/capc-calc/distinfo +++ b/math/capc-calc/distinfo @@ -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 diff --git a/math/capc-calc/patches/patch-aa b/math/capc-calc/patches/patch-aa index 44f21207f81..7b8ecafc717 100644 --- a/math/capc-calc/patches/patch-aa +++ b/math/capc-calc/patches/patch-aa @@ -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= # -- cgit v1.2.3