mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
e49e6b4ea0
in general) as before.
79 lines
1.8 KiB
Plaintext
79 lines
1.8 KiB
Plaintext
--- 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;
|
|
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996
|
|
--- beav.1 Sun Mar 3 03:14:31 1996
|
|
***************
|
|
*** 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
|
|
|