]> git.pld-linux.org Git - packages/ftp4all.git/blob - ftpd-opt.patch
- tabs in preamble
[packages/ftp4all.git] / ftpd-opt.patch
1 diff -urN ftpd-3.012.org/cfg/configure ftpd-3.012/cfg/configure
2 --- ftpd-3.012.org/cfg/configure        Sat Dec 16 13:39:49 2000
3 +++ ftpd-3.012/cfg/configure    Sat Dec 16 13:59:07 2000
4 @@ -37,7 +37,6 @@
5  echo $CC
6  
7  cd cfg
8 -CFLAGS=""
9  echo $ac_n "| checking for sparcv9 architecture ... $ac_c"
10  SYSTEM=`uname`
11  if [ "$SYSTEM" = "SunOS" ]; then
12 @@ -49,7 +48,7 @@
13        if [ $LONGSIZE -eq 64 ]; then
14          SPARCV9=yes
15          CC=cc
16 -        CFLAGS="-xarch=v9"
17 +        CFLAGS="$CFLAGS -xarch=v9"
18          CFLAGS="$CFLAGS $CFLAGS_TEST"
19        fi
20      fi
21 @@ -64,18 +63,6 @@
22  fi
23  cd ..
24  
25 -if [ "$1" = "debug" -o "$1" = "gdb" ]; then
26 -  if [ "$SPARCV9" = "yes" ]; then
27 -    CFLAGS="$CFLAGS -g"
28 -  else
29 -    CFLAGS="$CFLAGS -g -Wall"
30 -  fi
31 -else
32 -  if [ ! "$SPARCV9" = "yes" ]; then
33 -    CFLAGS="$CFLAGS -O"
34 -  fi
35 -fi
36 -
37  DEF=""
38  echo $ac_n "| checking for sys/select.h ... $ac_c"
39  if [ -r /usr/include/sys/select.h ]; then
40 @@ -253,7 +240,7 @@
41  EOF
42  
43  if [ ! "$DES" = "" ]; then
44 -  echo "       @cd lib ; make" >>Makefile
45 +  echo "       @cd lib ; make CFLAGS=\"$CFLAGS\" " >>Makefile
46  fi
47  
48  cat << "EOF" >>Makefile
49 diff -urN ftpd-3.012.org/lib/Makefile ftpd-3.012/lib/Makefile
50 --- ftpd-3.012.org/lib/Makefile Sat Dec 16 13:39:49 2000
51 +++ ftpd-3.012/lib/Makefile     Sat Dec 16 13:44:34 2000
52 @@ -1,5 +1,4 @@
53  CC=gcc
54 -CFLAGS=-O
55  LIBNAME=libdes.a
56  O_FILES=cbc-cksum.o cbc-encrypt.o des-bitrev.o des-data.o des-expand.o des-fun.o des-hash.o des-hex.o des-perms.o des-reverse.o des-spe-64.o des-spe-data.o des-sun-key.o ecb-encrypt-64.o ecb-encrypt-p.o ecb-encrypt.o ecb-encrypt2.o ksched-fast.o ksched.o new-crypt.o pcbc-encrypt.o str-to-key.o sun-cbc-crypt.o sun-ecb-crypt.o sun-setpar.o unix-crypt.o
57  
This page took 0.066403 seconds and 3 git commands to generate.