freebsd-ports/security/ddos_scan/files/patch-Makefile
Eric Anholt 253f3b4323 Fix building with new gcc (multi-line string literals) and make the build
actually respect CFLAGS.

Reported by:	bento
2003-05-12 02:13:01 +00:00

24 lines
556 B
Text

--- Makefile.orig Mon Jan 10 13:14:31 2000
+++ Makefile Sun May 11 18:46:35 2003
@@ -1,10 +1,10 @@
# Makefile for ddos_scan (dds).
# $Revision: 1.1 $
-CFLAGS=
+#CFLAGS=
# For Solaris 2.5.1 and above, uncomment the following line.
-LIBS=-lresolv -lsocket -lnsl
+#LIBS=-lresolv -lsocket -lnsl
default:
@clear
@@ -14,7 +14,7 @@
@echo "to suit your operating system, then use 'make dds'"
dds: dds.o
- $(CC) -o dds dds.c $(LIBS)
+ $(CC) -o dds dds.o $(LIBS)
# This assumes the source is in a directory named "ddos_scan".
tar: ddos_scan.tar