openbsd-ports/archivers/arc/patches/patch-aa
brad f1fa59d786 - style
- make sure not to patch multiple files in one patch
1999-08-10 02:09:41 +00:00

35 lines
907 B
Plaintext

--- Makefile.orig Tue Apr 14 18:57:58 1992
+++ Makefile Mon Aug 9 19:32:28 1999
@@ -32,14 +32,15 @@
OPT = -O
# For MWC 3.0 on the Atari ST, use:
#CFLAGS = -VCOMPAC -VPEEP
-CFLAGS = $(OPT) $(SYSTEM)
+#CFLAGS = $(OPT) $(SYSTEM)
+CFLAGS += $(SYSTEM)
# GNU's gcc is very nice, if you've got it. Otherwise just cc.
#CC = cgcc -mshort
-CC = cc
+#CC = cc
# tmclock is only needed on Unix systems...
-TMCLOCK = tmclock.o
+TMCLOCK = #tmclock.o
# Files needed for System V
#SYSVOBJ = getwd.o rename.o scandir.o utimes.o
@@ -61,6 +62,12 @@
clean:
-rm *.o arc$(PROG) marc$(PROG)
+
+install:
+ install -cs -o root -g wheel arc marc ${PREFIX}/bin
+ install -c -o root -g wheel arc.1 ${PREFIX}/man/man1
+ install -d -o root -g wheel ${PREFIX}/share/doc/arc
+ install -c -o root -g wheel Arc521.doc Arcinfo ${PREFIX}/share/doc/arc
arc.o: $(SRCDIR)arc.c $(HEADER)
$(CC) $(CFLAGS) -c $(SRCDIR)arc.c