freebsd-ports/security/gag/files/patch-Makefile
Eric Anholt 3ba2ca235a Fix with newer gcc by converting #if #endif around license statement to /* */
Also fix linking so that CFLAGS get respected.
2003-05-12 22:10:25 +00:00

21 lines
501 B
Text

--- Makefile.orig Mon Jan 10 13:13:12 2000
+++ Makefile Mon May 12 15:15:36 2003
@@ -1,7 +1,7 @@
-CFLAGS=
+#CFLAGS=
# For Solaris 2.5.1 and above, uncomment the following line.
-LIBS=-lresolv -lsocket -lnsl
+#LIBS=-lresolv -lsocket -lnsl
default:
@clear
@@ -11,7 +11,7 @@
@echo "to suit your operating system, then use 'make gag'"
gag: gag.o
- $(CC) -o gag gag.c $(LIBS)
+ $(CC) -o gag gag.o $(LIBS)
# This assumes the source is in a directory named "sickenscan".
tar: sickenscan.tar