use gcc 4.0.2 and deselect ppp by default for Aruba, use gcc 3.4.5 for the other...
[openwrt.git] / package / psybnc / patches / Makefile.patch
1 --- psybnc/Makefile 2005-06-04 20:22:45.000000000 +0200
2 +++ psybnc_patched/Makefile 2005-11-04 11:50:28.879157626 +0100
3 @@ -1,16 +1,16 @@
4 -CC = gcc
5 +HOSTCC = gcc
6 CCFLAGS =
7
8 all: $(OBJS)
9 @echo Initializing bouncer compilation
10 @echo [*] Running Conversion Tool for older psyBNC Data.
11 - @$(CC) tools/convconf.c -o tools/convconf
12 + @$(HOSTCC) tools/convconf.c -o tools/convconf
13 @tools/convconf
14 @echo [*] Running Autoconfig.
15 - @$(CC) -I. tools/autoconf.c -o tools/autoconf
16 + @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
17 @tools/autoconf
18 @echo [*] Compiling MakeSalt for Encryption..
19 - @$(CC) -I. -o makesalt tools/makesalt.c
20 + @$(HOSTCC) -I. -o makesalt tools/makesalt.c
21 @./makesalt
22 @echo [*] Compiling Bouncer..
23 @make -f makefile.out
24 @@ -20,14 +20,14 @@
25 menuconfig:
26 @echo Initializing Menu-Configuration
27 @echo [*] Running Conversion Tool for older psyBNC Data.
28 - @$(CC) tools/convconf.c -o tools/convconf
29 + @$(HOSTCC) tools/convconf.c -o tools/convconf
30 @tools/convconf
31 @echo [*] Running Autoconfig.
32 - @$(CC) -I. tools/autoconf.c -o tools/autoconf
33 + @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
34 @tools/autoconf
35 @echo [*] Creating Menu, please wait.
36 @echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead.
37 - @$(CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -I. -lncurses -lm -o menuconf/menuconf 2>/dev/null
38 + @$(HOSTCC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -I. -lncurses -lm -o menuconf/menuconf 2>/dev/null
39 @menuconf/menuconf
40 @clear
41 @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed.
42 @@ -36,14 +36,14 @@
43 menuconfig-curses:
44 @echo Initializing Menu-Configuration using Curses
45 @echo [*] Running Conversion Tool for older psyBNC Data.
46 - @$(CC) tools/convconf.c -o tools/convconf
47 + @$(HOSTCC) tools/convconf.c -o tools/convconf
48 @tools/convconf
49 @echo [*] Running Autoconfig.
50 - @$(CC) -I. tools/autoconf.c -o tools/autoconf
51 + @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
52 @tools/autoconf
53 @echo [*] Creating Menu, please wait.
54 @echo This needs the 'curses' library. If it is not available, menuconf wont work.
55 - @$(CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -DNONCURSES -I. -lcurses -lm -o menuconf/menuconf 2>/dev/null
56 + @$(HOSTCC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -DNONCURSES -I. -lcurses -lm -o menuconf/menuconf 2>/dev/null
57 @menuconf/menuconf
58 @clear
59 @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed.
This page took 0.048891 seconds and 5 git commands to generate.