opnsense-ports/irc/psybnc/files/patch-Makefile
Franco Fichtner e2e9f18bcc */*: sync with upstream
Taken from: FreeBSD
2016-06-21 05:37:51 +02:00

29 lines
1.3 KiB
Text

--- Makefile.orig 2007-03-20 14:02:50 UTC
+++ Makefile
@@ -7,7 +7,7 @@ all: $(OBJS)
@$(CC) tools/convconf.c -o tools/convconf
@tools/convconf
@echo [*] Running Autoconfig.
- @$(CC) -I. tools/autoconf.c -o tools/autoconf
+ @$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
@tools/autoconf
@echo [*] Compiling MakeSalt for Encryption..
@$(CC) -I. -o makesalt tools/makesalt.c
@@ -23,7 +23,7 @@ menuconfig:
@$(CC) tools/convconf.c -o tools/convconf
@tools/convconf
@echo [*] Running Autoconfig.
- @$(CC) -I. tools/autoconf.c -o tools/autoconf
+ @$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
@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.
@@ -39,7 +39,7 @@ menuconfig-curses:
@$(CC) tools/convconf.c -o tools/convconf
@tools/convconf
@echo [*] Running Autoconfig.
- @$(CC) -I. tools/autoconf.c -o tools/autoconf
+ @$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
@tools/autoconf
@echo [*] Creating Menu, please wait.
@echo This needs the 'curses' library. If it is not available, menuconf wont work.