diff options
author | Phil Sutter <phil@nwl.cc> | 2015-07-26 01:34:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-26 10:36:35 +0200 |
commit | e8a2e04315d138863b743ff3f51af167cbcdae37 (patch) | |
tree | 0a2f15efdac735cf0b284e3ee440e967219a2fb9 /package/maradns/patches/patch-deadwood-3_2_05_src_Makefile | |
parent | 6533c46eac76c4c7f48db9b66cc891bae7204d00 (diff) |
package/maradns: update to version 2.0.09
Additionally:
- Also minimize necessary patching. Still a bit hacky, but a lot less
intrusive at least.
- Allow enabling IPv6 support.
- Make sure /etc/maradns/logger exists, necessary for chroot operation
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/maradns/patches/patch-deadwood-3_2_05_src_Makefile')
-rw-r--r-- | package/maradns/patches/patch-deadwood-3_2_05_src_Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile b/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile new file mode 100644 index 000000000..a4d879c82 --- /dev/null +++ b/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile @@ -0,0 +1,22 @@ + - set HOSTCC to the right value for OpenADK + - maradns, y u no use HOSTCC when appropriate?! +--- maradns-2.0.09.orig/deadwood-3.2.05/src/Makefile 2011-12-21 20:44:37.000000000 +0100 ++++ maradns-2.0.09/deadwood-3.2.05/src/Makefile 2014-06-19 02:48:35.375046777 +0200 +@@ -5,7 +5,7 @@ + # compiling. When cross-compiling, we still need to compile and + # run programs on the build machine, so change the next line when + # cross-compiling. +-HOSTCC=$(CC) ++HOSTCC=$(CC_FOR_BUILD) + + OBJS=DwStr.o \ + DwMararc.o \ +@@ -68,7 +68,7 @@ DwSys.o: DwSys.c DwStr.h + $(CC) $(FLAGS) -Wall -c -o DwSys.o DwSys.c + + RandomPrime: RandomPrime.c +- $(CC) -O3 -o RandomPrime RandomPrime.c ++ $(HOSTCC) -O3 -o RandomPrime RandomPrime.c + + DwRandPrime.h: RandomPrime + if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi |