1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net/maradns/files/patch-server-Makefile
Kevin Lo 7100d10a03 Update to version 0.7.22
PR: 28817
Submitted by: MAINTAINER
2001-07-08 16:36:30 +00:00

27 lines
861 B
Plaintext

--- server/Makefile.orig Wed Jul 4 12:09:16 2001
+++ server/Makefile Sun Jul 8 15:45:17 2001
@@ -10,7 +10,7 @@
#FLAGS = -O2 -Wall
#FLAGS = -g -DDEBUG -DCALL_LOCKS
-FLAGS = -g -DDEBUG
+FLAGS = -g -DDEBUG $(CFLAGS)
#FLAGS = -g -DDEBUG -DNOTHREAD
#FLAGS = -g
@@ -23,11 +23,11 @@
cd libs ; make
MaraBigHash.o: MaraBigHash.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
- gcc -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
+ $(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
recursive.o: recursive.c ../libs/JessStr.h ../libs/MaraHash.h ../MaraDns.h
- gcc -c $(FLAGS) -o recursive.o recursive.c
+ $(CC) -c $(FLAGS) -o recursive.o recursive.c
maradns: MaraDNS.c $(OBJECTS)
- gcc $(FLAGS) -DVERSION=\"$(VERSION)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+ $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o maradns MaraDNS.c $(OBJECTS) -pthread