summaryrefslogtreecommitdiff
path: root/www/pserv/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/pserv/files/patch-Makefile')
-rw-r--r--www/pserv/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/pserv/files/patch-Makefile b/www/pserv/files/patch-Makefile
new file mode 100644
index 000000000000..270d791c64a1
--- /dev/null
+++ b/www/pserv/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Mon Sep 8 20:05:54 2003
++++ Makefile Thu Oct 16 14:24:50 2003
+@@ -1,11 +1,11 @@
+ #Change the following to your needs
+-CC = gcc
++CC ?= gcc
+ #insert here flags, eg. optimizations
+-CFLAGS = -Wall -O3
+-LIBS = -lnsl -lsocket
+ SRCS = main.c handlers.c mime.c log.c
+ OBJS = main.o handlers.o mime.o log.o
+ PROGRAM = pserv
++
++all : $(PROGRAM)
+
+ $(PROGRAM) : $(OBJS)
+ $(CC) -o $(PROGRAM) $(OBJS) $(LIBS)