summaryrefslogtreecommitdiff
path: root/dns/maradns1/files/patch-build_Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'dns/maradns1/files/patch-build_Makefile.freebsd')
-rw-r--r--dns/maradns1/files/patch-build_Makefile.freebsd12
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/maradns1/files/patch-build_Makefile.freebsd b/dns/maradns1/files/patch-build_Makefile.freebsd
new file mode 100644
index 000000000000..f1a59ce0c92e
--- /dev/null
+++ b/dns/maradns1/files/patch-build_Makefile.freebsd
@@ -0,0 +1,12 @@
+--- build/Makefile.freebsd.orig 2006-01-22 06:22:01.000000000 +0100
++++ build/Makefile.freebsd 2012-10-23 16:10:31.188976256 +0200
+@@ -27,8 +27,7 @@
+ Q="DEFINES=-DSELECT_PROBLEM"
+
+ # FreeBSD needs some special flags to compile MaraDNS
+-CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
+-M=CC=$(CC)
++M="CC=$(CC) -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
+ V="VERSION=$(VERSION)"
+
+ # Debug