summaryrefslogtreecommitdiffstats
path: root/www/pound/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/pound/files/patch-Makefile')
-rw-r--r--www/pound/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/pound/files/patch-Makefile b/www/pound/files/patch-Makefile
new file mode 100644
index 0000000..adf7537
--- /dev/null
+++ b/www/pound/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Mon Aug 19 08:19:53 2002
++++ Makefile Mon Aug 26 22:10:35 2002
+@@ -26,20 +26,20 @@
+ #
+ # $Id: Makefile,v 0.9 2002/08/19 08:19:53 roseg Exp roseg $
+
+-CC=gcc
++#CC=gcc
+ # For GNU-less systems use:
+ #CC=cc
+
+ # Configuration file default; if none, look at config.c for default!
+-F_CONF=/usr/local/etc/pound/pound.cfg
++#F_CONF=/usr/local/etc/pound/pound.cfg
+
+-CFLAGS=-O2 -DF_CONF=\"$(F_CONF)\" -DAEMON
++CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) -DNEED_STACK
+ # some old compilers don't like -O2; you may want to try -g for debugging
+ #CFLAGS=-O -DF_CONF=\"$(F_CONF)\" -DAEMON
+ # For OpenBSD/FreeBSD use:
+ #CFLAGS=-O2 -pthread -DF_CONF=\"$(F_CONF)\" -DNEED_STACK -DAEMON
+
+-LIBS=-lssl -lpthread
++LIBS=-lssl -lcrypto $(PTHREAD_LIBS)
+ # For SystemV/Solaris use:
+ #LIBS=-lssl -lpthread -lsocket -lnsl
+ # For OpenBSD/FreeBSD use:
OpenPOWER on IntegriCloud