Dash:
[t2-trunk.git] / package / archiver / ncompress / config.patch
blob2b961fd3ff533a6327c7da00629366d5c987b270
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ncompress/config.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
19 ncompress uses a really nice build script with a few evil bugs ...
21 - Clifford
23 --- ./build Wed Oct 28 12:10:53 1992
24 +++ ./build.new Mon Aug 31 21:25:22 1998
25 @@ -278,8 +278,6 @@
26 [ -f /usr/include/sys/dir.h ] && { SYSDIR=yes; }
27 [ -f /usr/include/dirent.h ] && { DIRENT=yes; }
28 [ -f /usr/include/utime.h ] && { UTIME_H=yes; }
29 - [ -d /usr/local/bin ] && { BINDIR=/usr/local/bin; }
30 - [ -d /usr/local/man ] && { BINDIR=/usr/local/man/man1; }
31 [ -f /usr/bin/compress ] && { BINDIR=/usr/bin; }
33 if [ ".${CC}" = . ]
34 @@ -790,7 +788,7 @@
37 compress: Makefile compress42.c patchlevel.h
38 - $(CC) -o compress $(options) "-DCOMPILE_DATE=\"\`date\`\"" compress42.c $(LBOPT)
39 + \$(CC) -o compress \$(options) "-DCOMPILE_DATE=\\"\`date\`\\"" compress42.c \$(LBOPT)
41 install: compress
42 [ -f \$(BINDIR)/compress ] && \\