mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
|
diff -c beav-140.orig/Makefile beav-140/Makefile
|
||
|
*** beav-140.orig/Makefile Wed Nov 30 19:19:47 1994
|
||
|
--- beav-140/Makefile Sat Jul 1 18:07:14 1995
|
||
|
***************
|
||
|
*** 1,5 ****
|
||
|
# This is the makefile for BSD UNIX
|
||
|
! CFLAGS= -O2 -DUNIX -DNOPROTO
|
||
|
|
||
|
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
|
||
|
buffer.o echo.o language.o main.o search.o tty.o window.o \
|
||
|
--- 1,5 ----
|
||
|
# This is the makefile for BSD UNIX
|
||
|
! CFLAGS+= -DUNIX -DNOPROTO -DBSD
|
||
|
|
||
|
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
|
||
|
buffer.o echo.o language.o main.o search.o tty.o window.o \
|
||
|
***************
|
||
|
*** 14,20 ****
|
||
|
|
||
|
HFILES= def.h
|
||
|
|
||
|
! beav: $(OFILES)
|
||
|
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
|
||
|
|
||
|
! (OFILES): $(HFILES)
|
||
|
--- 14,25 ----
|
||
|
|
||
|
HFILES= def.h
|
||
|
|
||
|
! all beav: $(OFILES)
|
||
|
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
|
||
|
|
||
|
! install: beav
|
||
|
! install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
|
||
|
! install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
|
||
|
! gzip -9nf $(PREFIX)/man/man1/beav.1
|
||
|
!
|
||
|
! $(OFILES): $(HFILES)
|
||
|
diff -c beav-140.orig/termio.c beav-140/termio.c
|
||
|
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994
|
||
|
--- beav-140/termio.c Sat Jul 1 17:56:09 1995
|
||
|
***************
|
||
|
*** 12,17 ****
|
||
|
--- 12,20 ----
|
||
|
#include <signal.h>
|
||
|
#ifdef BSD
|
||
|
#include <sys/ioctl.h>
|
||
|
+ #ifdef __FreeBSD__
|
||
|
+ #include <sys/ioctl_compat.h>
|
||
|
+ #endif
|
||
|
#else
|
||
|
#ifdef OS2
|
||
|
#ifndef __EMX__
|
||
|
diff -c beav-140.orig/tcap.c beav-140/tcap.c
|
||
|
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995
|
||
|
--- beav-140/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;
|