1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/beav/files/patch-a

79 lines
1.8 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Sat Dec 13 09:34:59 1997
+++ Makefile Mon Aug 10 10:45:21 1998
@@ -1,6 +1,6 @@
# This is the makefile for BSD UNIX
#CFLAGS= -g -DUNIX
-CFLAGS= -O2 -DUNIX
+CFLAGS+= -DUNIX -DBSD
CC=gcc
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
@@ -16,10 +16,16 @@
HFILES= def.h prototyp.h
-beav: $(OFILES)
- $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav
+all beav: $(OFILES)
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
+
+install: beav
+ $(BSD_INSTALL_PROGRAM) beav $(PREFIX)/bin
+ mkdir -p $(PREFIX)/share/doc/beav
+ $(BSD_INSTALL_DATA) beav140.txt $(PREFIX)/share/doc/beav/beav.txt
+ $(BSD_INSTALL_MAN) beav.1 $(PREFIX)/man/man1
clean:
rm -f *.o beav
-(OFILES): $(HFILES)
+$(OFILES): $(HFILES)
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994
--- termio.c Sat Jul 1 17:56:09 1995
***************
*** 12,17 ****
--- 12,20 ----
#include <signal.h>
#ifdef BSD
#include <sys/ioctl.h>
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <sys/ioctl_compat.h>
+ #endif
#else
#ifdef OS2
#ifndef __EMX__
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995
--- tcap.c Sat Jul 1 18:24:29 1995
***************
*** 38,44 ****
#ifdef BSD
#include <sys/ioctl.h>
! struct winsize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
--- 38,44 ----
#ifdef BSD
#include <sys/ioctl.h>
! struct ttysize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
1996-03-03 11:33:46 +00:00
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996
--- beav.1 Sun Mar 3 03:14:31 1996
1996-03-03 11:33:46 +00:00
***************
*** 59,63 ****
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/doc/beav/beav.txt
--- 59,63 ----
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/local/share/doc/beav/beav.txt
1996-03-03 11:33:46 +00:00