summaryrefslogtreecommitdiff
path: root/editors/joe
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-04-07 13:04:21 +0000
committertv <tv@pkgsrc.org>1998-04-07 13:04:21 +0000
commitb5e3929984e1574621a8e108b76186d71aa81c2a (patch)
tree660d98dc6f0d9a26918d6589d04706d51ea17560 /editors/joe
parentdd22c7228ae124d7f7da9857b1316742d8805dbc (diff)
downloadpkgsrc-b5e3929984e1574621a8e108b76186d71aa81c2a.tar.gz
Use the t*() routines in libtermcap. Define -DTERMINFO (no, really!) to
make use of the t*() routines.
Diffstat (limited to 'editors/joe')
-rw-r--r--editors/joe/Makefile4
-rw-r--r--editors/joe/patches/patch-aa21
2 files changed, 22 insertions, 3 deletions
diff --git a/editors/joe/Makefile b/editors/joe/Makefile
index 9e5443e03bb..12f77da0248 100644
--- a/editors/joe/Makefile
+++ b/editors/joe/Makefile
@@ -5,7 +5,7 @@
#
# Imported into NetBSD by explorer@flame.org
#
-# $NetBSD: Makefile,v 1.3 1998/01/24 04:44:49 hubertf Exp $
+# $NetBSD: Makefile,v 1.4 1998/04/07 13:04:21 tv Exp $
# FreeBSD Id: Makefile,v 1.3 1996/11/17 07:01:28 obrien Exp
#
@@ -21,4 +21,6 @@ ALL_TARGET= joe
WRKSRC= ${WRKDIR}/joe
MAN1= joe.1
+CFLAGS+= -DTERMINFO
+
.include <bsd.port.mk>
diff --git a/editors/joe/patches/patch-aa b/editors/joe/patches/patch-aa
index 755912494ed..439130b96cf 100644
--- a/editors/joe/patches/patch-aa
+++ b/editors/joe/patches/patch-aa
@@ -1,5 +1,5 @@
-*** Makefile.orig Sat Jul 1 18:43:39 1995
---- Makefile Sat Jul 1 18:59:47 1995
+*** Makefile.orig Mon Jan 23 01:01:28 1995
+--- Makefile Mon Apr 6 16:29:17 1998
***************
*** 9,17 ****
# to go and where you want the man page
@@ -39,6 +39,23 @@
# C compiler to use: make's built-in rules use this variable
***************
+*** 45,51 ****
+ # add '-ltinfo', '-lcurses' or '-ltermlib',
+ # depending on the system.
+
+! EXTRALIBS =
+
+ # Object files
+
+--- 45,51 ----
+ # add '-ltinfo', '-lcurses' or '-ltermlib',
+ # depending on the system.
+
+! EXTRALIBS = -ltermcap
+
+ # Object files
+
+***************
*** 84,100 ****
# Install proceedure