diff options
Diffstat (limited to 'net/arping/patches/patch-aa')
-rw-r--r-- | net/arping/patches/patch-aa | 58 |
1 files changed, 13 insertions, 45 deletions
diff --git a/net/arping/patches/patch-aa b/net/arping/patches/patch-aa index 0bcef240adf..31004fab3be 100644 --- a/net/arping/patches/patch-aa +++ b/net/arping/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/07/07 17:30:12 xtraeme Exp $ +$NetBSD: patch-aa,v 1.2 2005/02/01 18:24:34 adrianp Exp $ ---- Makefile.orig 2003-08-04 01:20:07.000000000 +0200 -+++ Makefile -@@ -9,9 +9,9 @@ SOLARIS=0 +--- Makefile.orig 2004-08-29 19:47:37.000000000 +0100 ++++ Makefile 2005-01-21 00:09:28.000000000 +0000 +@@ -19,9 +19,9 @@ FREEBSD=0 MACOSX=0 @@ -14,48 +14,16 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/07/07 17:30:12 xtraeme Exp $ all: message arping2 -@@ -54,34 +54,34 @@ doc: arping.yodl - yodl2man -o arping.8 arping.yodl +@@ -94,9 +94,9 @@ + $(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config --libs` -lpcap - linux-nofindif: -- make USE_NETIF=1 LINUX=1 FINDIF=0 arping1-make -+ $(MAKE) USE_NETIF=1 LINUX=1 FINDIF=0 arping1-make - linux: -- make USE_NETIF=1 LINUX=1 arping1-make -+ $(MAKE) USE_NETIF=1 LINUX=1 arping1-make - - freebsd: -- make USE_NETIF=1 FREEBSD=1 arping1-make -+ $(MAKE) USE_NETIF=1 FREEBSD=1 arping1-make - - macosx: -- make USE_NETIF=1 MACOSX=1 arping1-make -+ $(MAKE) USE_NETIF=1 MACOSX=1 arping1-make - - openbsd: -- make OPENBSD=1 arping1-make -+ $(MAKE) OPENBSD=1 arping1-make - netbsd: -- make openbsd -+ $(MAKE) openbsd - - solaris: -- make USE_NETIF=0 SOLARIS=1 arping1-make -+ $(MAKE) USE_NETIF=0 SOLARIS=1 arping1-make - - install: -- install -c arping /usr/local/bin/arping -- install arping.8 /usr/local/man/man8/arping.8 -+ $(BSD_INSTALL) -c arping $(PREFIX)/bin/arping -+ $(BSD_INSTALL) -c arping.8 $(PREFIX)/man/man8/arping.8 - - arping.o: arping.c - $(CC) -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c - - O_arping=arping.o - arping1-make: $(O_arping) -- $(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config --libs` -lpcap -+ $(CC) $(CFLAGS) -o arping $(O_arping) `libnet-config --libs` -lpcap + SYS=$(shell uname -s) +-ifeq ($(SYS),SunOS) +-EXTRA_LIBS=-lsocket -lnsl +-endif ++#ifeq ($(SYS),SunOS) ++#EXTRA_LIBS=-lsocket -lnsl ++#endif O_arping2=arping-2/arping.c arping2: arping-2/arping |