summaryrefslogtreecommitdiff
path: root/openwrt/package/psybnc/patches/Makefile.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-06 17:19:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-06 17:19:05 +0000
commit8f5b87ca4186d5b49fcd40f92091fd3dc348dadc (patch)
treece6c4e7bab012c119890d23fb664df7eb9af1961 /openwrt/package/psybnc/patches/Makefile.patch
parent1a7c5d7335884e86eac17257266bfb582983cf83 (diff)
add psybnc package (thanks to Peter Feuerer)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2355 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/psybnc/patches/Makefile.patch')
-rw-r--r--openwrt/package/psybnc/patches/Makefile.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/openwrt/package/psybnc/patches/Makefile.patch b/openwrt/package/psybnc/patches/Makefile.patch
new file mode 100644
index 0000000000..2db956072c
--- /dev/null
+++ b/openwrt/package/psybnc/patches/Makefile.patch
@@ -0,0 +1,59 @@
+--- psybnc/Makefile 2005-06-04 20:22:45.000000000 +0200
++++ psybnc_patched/Makefile 2005-11-04 11:50:28.879157626 +0100
+@@ -1,16 +1,16 @@
+-CC = gcc
++HOSTCC = gcc
+ CCFLAGS =
+
+ all: $(OBJS)
+ @echo Initializing bouncer compilation
+ @echo [*] Running Conversion Tool for older psyBNC Data.
+- @$(CC) tools/convconf.c -o tools/convconf
++ @$(HOSTCC) tools/convconf.c -o tools/convconf
+ @tools/convconf
+ @echo [*] Running Autoconfig.
+- @$(CC) -I. tools/autoconf.c -o tools/autoconf
++ @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
+ @tools/autoconf
+ @echo [*] Compiling MakeSalt for Encryption..
+- @$(CC) -I. -o makesalt tools/makesalt.c
++ @$(HOSTCC) -I. -o makesalt tools/makesalt.c
+ @./makesalt
+ @echo [*] Compiling Bouncer..
+ @make -f makefile.out
+@@ -20,14 +20,14 @@
+ menuconfig:
+ @echo Initializing Menu-Configuration
+ @echo [*] Running Conversion Tool for older psyBNC Data.
+- @$(CC) tools/convconf.c -o tools/convconf
++ @$(HOSTCC) tools/convconf.c -o tools/convconf
+ @tools/convconf
+ @echo [*] Running Autoconfig.
+- @$(CC) -I. tools/autoconf.c -o tools/autoconf
++ @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
+ @tools/autoconf
+ @echo [*] Creating Menu, please wait.
+ @echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead.
+- @$(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
++ @$(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
+ @menuconf/menuconf
+ @clear
+ @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed.
+@@ -36,14 +36,14 @@
+ menuconfig-curses:
+ @echo Initializing Menu-Configuration using Curses
+ @echo [*] Running Conversion Tool for older psyBNC Data.
+- @$(CC) tools/convconf.c -o tools/convconf
++ @$(HOSTCC) tools/convconf.c -o tools/convconf
+ @tools/convconf
+ @echo [*] Running Autoconfig.
+- @$(CC) -I. tools/autoconf.c -o tools/autoconf
++ @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf
+ @tools/autoconf
+ @echo [*] Creating Menu, please wait.
+ @echo This needs the 'curses' library. If it is not available, menuconf wont work.
+- @$(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
++ @$(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
+ @menuconf/menuconf
+ @clear
+ @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed.