summaryrefslogtreecommitdiff
path: root/security/ddos-scan/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/ddos-scan/patches/patch-aa')
-rw-r--r--security/ddos-scan/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/ddos-scan/patches/patch-aa b/security/ddos-scan/patches/patch-aa
new file mode 100644
index 00000000000..a62862fc981
--- /dev/null
+++ b/security/ddos-scan/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2000/02/14 16:23:32 agc Exp $
+
+Check which OS we're on, and use the correct LIBS and
+CPPFLAGS appropriately.
+
+--- Makefile 2000/02/14 16:14:21 1.1
++++ Makefile 2000/02/14 16:15:16
+@@ -4,7 +4,13 @@
+ CFLAGS=
+
+ # For Solaris 2.5.1 and above, uncomment the following line.
++
++OPSYS!= uname -s
++
++.if ${OPSYS} == "SunOS"
++CPPFLAGS=
+ LIBS=-lresolv -lsocket -lnsl
++.endif
+
+ default:
+ @clear