chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / zip / makefile.patch
1 diff -u -r ../zip30/unix/Makefile ./unix/Makefile
2 --- ../zip30/unix/Makefile      2008-05-07 08:33:56.000000000 +0200
3 +++ ./unix/Makefile     2014-05-28 01:20:58.000000000 +0200
4 @@ -22,10 +22,7 @@
5  LN = ln -s
6  
7  # (to use the GNU compiler, change cc to gcc in CC)
8 -CC = cc
9  BIND = $(CC)
10 -AS = $(CC) -c
11 -CPP = /lib/cpp
12  E =
13  
14  # probably can change this to 'install' if you have it
15 @@ -38,10 +35,9 @@
16  MANFLAGS = 644
17  
18  # target directories - where to install executables and man pages to
19 -prefix = /usr/local
20  BINDIR = $(prefix)/bin
21  MANEXT=1
22 -MANDIR = $(prefix)/man/man$(MANEXT)
23 +MANDIR = $(prefix)/share/man/man$(MANEXT)
24  ZIPMANUAL = zip.txt
25  ZIPMANUALcloak = zipcloak.txt
26  ZIPMANUALnote = zipnote.txt
27 @@ -58,7 +54,6 @@
28  #   LFLAGS1   flags after output file spec, before obj file list
29  #   LFLAGS2   flags after obj file list (libraries, etc)
30  CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)
31 -CFLAGS = -O2 $(CFLAGS_NOOPT)
32  LFLAGS1 =
33  LFLAGS2 = -s
34