freebsd-ports/www/pound/files/patch-Makefile
2002-08-26 23:40:02 +00:00

28 lines
856 B
Plaintext

--- 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: