ports/irc/psybnc/files/patch-Makefile
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00: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.