pkgsrc/net/maradns/patches/patch-al
joerg 9258a49e84 Update to maradns-1.2.12.06.
Most important changes:
- full Y2038 compliance
- full support for DNS over TCP
- some changes in the zone format.
2007-08-12 01:14:30 +00:00

35 lines
1.6 KiB
Text

$NetBSD: patch-al,v 1.1 2007/08/12 01:14:31 joerg Exp $
--- server/Makefile.recursive.orig 2006-07-18 03:50:44.000000000 +0000
+++ server/Makefile.recursive
@@ -33,23 +33,23 @@ libs/tests:
cd libs ; make
read_kvars.o: read_kvars.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
- $(CC) -c $(FLAGS) -o read_kvars.o read_kvars.c
+ $(CC) ${CFLAGS} -c $(FLAGS) -o read_kvars.o read_kvars.c
MaraBigHash.o: MaraBigHash.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h MaraBigHash_locale.h
- $(CC) -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
+ $(CC) ${CFLAGS} -c $(FLAGS) -o MaraBigHash.o MaraBigHash.c
recursive.o: recursive.c ../libs/JsStr.h ../libs/MaraHash.h ../MaraDns.h
- $(CC) -c $(FLAGS) -o recursive.o recursive.c
+ $(CC) ${CFLAGS} -c $(FLAGS) -o recursive.o recursive.c
timestamp.o: timestamp.c MaraDNS_locale.h
- $(CC) -c $(FLAGS) -o timestamp.o timestamp.c
+ $(CC) ${CFLAGS} -c $(FLAGS) -o timestamp.o timestamp.c
MaraAnyChain.o: MaraAnyChain.c
- $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
+ $(CC) ${CFLAGS} -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c
maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h
- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread
+ $(CC) ${LDFLAGS} $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS)
simple: simple.c $(XOBJECTS) MaraDNS_locale.h
- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c
+ $(CC) ${CFLAGS} $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o simple $(OBJECTS) simple.c