aboutsummaryrefslogtreecommitdiff
path: root/sysutils/less
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 03:35:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 03:35:39 +0000
commit014a3db63a1143463c692c1395490c3b8f1fca77 (patch)
treedf46f5cb6cd1075699d49371535f3612df0a6b64 /sysutils/less
parent3e1535299a4b3b8c88558c1c38a3df6a9e999dc8 (diff)
downloadports-014a3db63a1143463c692c1395490c3b8f1fca77.tar.gz
ports-014a3db63a1143463c692c1395490c3b8f1fca77.zip
Notes
Diffstat (limited to 'sysutils/less')
-rw-r--r--sysutils/less/Makefile13
-rw-r--r--sysutils/less/files/patch-aa80
2 files changed, 93 insertions, 0 deletions
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
new file mode 100644
index 000000000000..467e30ecdb91
--- /dev/null
+++ b/sysutils/less/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: less
+# Version required: 2.37
+# Date created: 8 Nov 1994
+# Whom: ache
+#
+# $Id: Makefile,v 1.1.1.1 1994/11/07 17:29:02 ache Exp $
+#
+
+DISTNAME= less-237
+MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
+GNU_CONFIGURE= YES
+
+.include <bsd.port.mk>
diff --git a/sysutils/less/files/patch-aa b/sysutils/less/files/patch-aa
new file mode 100644
index 000000000000..1461414789e9
--- /dev/null
+++ b/sysutils/less/files/patch-aa
@@ -0,0 +1,80 @@
+*** Makefile.in.orig Fri Sep 16 09:57:05 1994
+--- Makefile.in Mon Nov 7 19:29:18 1994
+***************
+*** 5,21 ****
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+
+! CC = @CC@
+! INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+
+- CFLAGS = -O
+ CFLAGS_COMPILE_ONLY = -c
+! LDFLAGS =
+ O=o
+
+! LIBS = @LIBS@
+
+ prefix = /usr/local
+ exec_prefix = $(prefix)
+--- 5,19 ----
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+
+! INSTALL = /usr/bin/install -c -o bin -g bin
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ CFLAGS_COMPILE_ONLY = -c
+! LDFLAGS = -s
+ O=o
+
+! LIBS = -ltermcap
+
+ prefix = /usr/local
+ exec_prefix = $(prefix)
+*** screen.c.old Fri Sep 23 10:51:39 1994
+--- screen.c Mon Nov 7 19:09:54 1994
+***************
+*** 169,175 ****
+--- 169,206 ----
+ */
+ save_term = s;
+ #if HAVE_OSPEED
++ #ifndef __FreeBSD__
+ ospeed = cfgetospeed(&s);
++ #else
++ switch (cfgetospeed(&s)) {
++ case B0: ospeed = 0; break;
++ case B50: ospeed = 1; break;
++ case B75: ospeed = 2; break;
++ case B110: ospeed = 3; break;
++ case B134: ospeed = 4; break;
++ case B150: ospeed = 5; break;
++ case B200: ospeed = 6; break;
++ case B300: ospeed = 7; break;
++ case B600: ospeed = 8; break;
++ case B1200: ospeed = 9; break;
++ case B1800: ospeed = 10; break;
++ case B2400: ospeed = 11; break;
++ case B4800: ospeed = 12; break;
++ case B9600: ospeed = 13; break;
++ #ifdef EXTA
++ case EXTA: ospeed = 14; break;
++ #endif
++ #ifdef EXTB
++ case EXTB: ospeed = 15; break;
++ #endif
++ #ifdef B57600
++ case B57600: ospeed = 16; break;
++ #endif
++ #ifdef B115200
++ case B115200: ospeed = 17; break;
++ #endif
++ }
++ #endif
+ #endif
+ erase_char = s.c_cc[VERASE];
+ kill_char = s.c_cc[VKILL];