aboutsummaryrefslogtreecommitdiff
path: root/converters/mpack/files/patch-aa
blob: a71a359dc72f1668183b8b95d6ab7abfec305629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
*** Makefile.orig	Thu Feb 16 15:39:41 1995
--- Makefile	Sat May 15 19:18:04 1999
***************
*** 1,5 ****
! CFLAGS=$(OPT) $(DEFINES)
! OPT=-O
  
  
  #Uncomment the following line if your system does not have strchr()
--- 1,5 ----
! CFLAGS+=$(OPT) $(DEFINES)
! #OPT=-O
  
  
  #Uncomment the following line if your system does not have strchr()
***************
*** 28,34 ****
  UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \
  		part.o xmalloc.o md5c.o getopt.o
  
! DESTDIR=/usr/local
  
  all: mpack munpack
  
--- 28,34 ----
  UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \
  		part.o xmalloc.o md5c.o getopt.o
  
! DESTDIR?=/usr/local
  
  all: mpack munpack
  
***************
*** 42,51 ****
  	-mkdir $(DESTDIR)/bin
  	-mkdir $(DESTDIR)/man
  	-mkdir $(DESTDIR)/man/man1
! 	install -s -m 755 mpack $(DESTDIR)/bin
! 	install -s -m 755 munpack $(DESTDIR)/bin
! 	install -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
! 	install -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
  
  clean:
  	rm -f *.o mpack munpack
--- 42,51 ----
  	-mkdir $(DESTDIR)/bin
  	-mkdir $(DESTDIR)/man
  	-mkdir $(DESTDIR)/man/man1
! 	install -c -s -m 755 mpack $(DESTDIR)/bin
! 	install -c -s -m 755 munpack $(DESTDIR)/bin
! 	install -c -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
! 	install -c -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
  
  clean:
  	rm -f *.o mpack munpack