summaryrefslogtreecommitdiff
path: root/network/3proxy/patches/Makefile.Linux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/3proxy/patches/Makefile.Linux.patch')
-rw-r--r--network/3proxy/patches/Makefile.Linux.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/network/3proxy/patches/Makefile.Linux.patch b/network/3proxy/patches/Makefile.Linux.patch
new file mode 100644
index 0000000000..e8705daee3
--- /dev/null
+++ b/network/3proxy/patches/Makefile.Linux.patch
@@ -0,0 +1,21 @@
+diff -Nur 3proxy-0.6.orig/Makefile.Linux 3proxy-0.6/Makefile.Linux
+--- 3proxy-0.6.orig/Makefile.Linux 2008-09-30 08:58:43.000000000 -0500
++++ 3proxy-0.6/Makefile.Linux 2009-06-24 12:01:44.148796740 -0500
+@@ -11,7 +11,7 @@
+ BUILDDIR =
+ CC = gcc
+
+-CFLAGS = -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS = -Wall -g $(EXTRA_CFLAGS) -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+ DCFLAGS = -fpic
+@@ -69,7 +69,7 @@
+
+ install-bin:
+ $(INSTALL_BIN) -d $(BINDIR)
+- $(INSTALL_BIN) -s $(INSTALL_OBJS) $(BINDIR)
++ $(INSTALL_BIN) $(INSTALL_OBJS) $(BINDIR)
+
+ install-etc-dir:
+ $(INSTALL_BIN) -d $(ETCDIR)