diff options
author | kris <kris@FreeBSD.org> | 2002-06-07 15:38:53 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-07 15:38:53 +0800 |
commit | 6ef14aa95ebaa5d349524d5db3e550393a598f53 (patch) | |
tree | ac8d1c9014e55cf2ff252f2429415e91bd2b65a6 /net | |
parent | c38047bd0c79df25fee117c49093ee6bc9591537 (diff) | |
download | freebsd-ports-gnome-6ef14aa95ebaa5d349524d5db3e550393a598f53.tar.gz freebsd-ports-gnome-6ef14aa95ebaa5d349524d5db3e550393a598f53.tar.zst freebsd-ports-gnome-6ef14aa95ebaa5d349524d5db3e550393a598f53.zip |
Respect CC and CFLAGS
Diffstat (limited to 'net')
-rw-r--r-- | net/arping/files/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/arping/files/patch-aa b/net/arping/files/patch-aa new file mode 100644 index 000000000000..1391893d99ff --- /dev/null +++ b/net/arping/files/patch-aa @@ -0,0 +1,25 @@ +--- Makefile.orig Fri Jun 7 00:37:19 2002 ++++ Makefile Fri Jun 7 00:37:41 2002 +@@ -8,7 +8,7 @@ + FREEBSD=0 + + # explicit pcap include dir is for redhat which is fux0red +-CFLAGS=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -I/usr/include/pcap ++CFLAGS+=-g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -I/usr/include/pcap + + usage: + @echo +@@ -41,11 +41,11 @@ + all: $(TARGETS) + + arping.o: arping.c +- gcc -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c ++ ${CC} -Wall $(CFLAGS) -c `libnet-config --defines` `libnet-config --cflags` arping.c + + O_arping=arping.o + arping: $(O_arping) +- gcc $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap ++ ${CC} $(CFLAGS) -g -o $@ $(O_arping) `libnet-config --libs` -lpcap + + clean: + rm -f *.o $(TARGETS) |