summaryrefslogtreecommitdiff
path: root/package/maradns/patches/patch-build_Makefile_linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
commitc57d0300bd42fabd8eeda2a95b6c3960d6e7ce07 (patch)
treeb53bc538246b5a900300b5c6b5ea740f978196f4 /package/maradns/patches/patch-build_Makefile_linux
parentcf4b3959527339206254b8c8fc44deb391beeb10 (diff)
parent023560ac69a2ecf5659c668c26c0af6b5612a46b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/nspr/Makefile
Diffstat (limited to 'package/maradns/patches/patch-build_Makefile_linux')
-rw-r--r--package/maradns/patches/patch-build_Makefile_linux32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-build_Makefile_linux b/package/maradns/patches/patch-build_Makefile_linux
new file mode 100644
index 000000000..2e7dec5be
--- /dev/null
+++ b/package/maradns/patches/patch-build_Makefile_linux
@@ -0,0 +1,32 @@
+--- maradns-1.4.03.orig/build/Makefile.linux 2006-11-24 12:44:29.000000000 +0100
++++ maradns-1.4.03/build/Makefile.linux 2010-02-06 00:23:58.393084387 +0100
+@@ -23,23 +23,23 @@ EXECS=server/maradns
+ # LDFLAGS=-L/usr/ucblib -lucb -lxnet
+ # end the Solaris section
+ # Non-Solaris version of "M"
+-V="VERSION=$(VERSION)"
++VER="VERSION=$(VERSION)"
+ Q="DEFINES=-DSELECT_PROBLEM"
+
+ # Debug
+
+-FLAGS = -O2 -Wall -DSELECT_PROBLEM
+-M="CC=$(CC) $(FLAGS)"
+-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
++CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM
++M="CC=$(CC) $(CFLAGS)"
++D="CC=$(CC) $(CFLAGS) -DDEBUG -DTHREADS"
+ #FLAGS = -g
+
+ all:
+ cd libs ; make $(M) ; cd ../dns ; make $(M) ; \
+ cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \
+ cd ../qual ; make $(M) ; cd ../server ; \
+- make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
++ make $(M) $(VER) COMPILED=\"$(COMPILED)\" ; \
+ cd ../tools ; make $(M) ; \
+- cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST
++ cd ../tcp ; make $(M) $(VER)
+
+ debug:
+ cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \