aboutsummaryrefslogtreecommitdiff
path: root/net/tcptraceroute-devel
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-03-24 07:38:36 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-03-24 07:38:36 +0000
commit1663a742acfc4d9e6d237dd57d9168502fb9d7dc (patch)
tree3e3179e53584b6691b69b1c1c2cf13b52bbaec9c /net/tcptraceroute-devel
parent17d67470c073820112dcf4a2e678cdc0df84d83d (diff)
downloadports-1663a742acfc4d9e6d237dd57d9168502fb9d7dc.tar.gz
ports-1663a742acfc4d9e6d237dd57d9168502fb9d7dc.zip
Notes
Diffstat (limited to 'net/tcptraceroute-devel')
-rw-r--r--net/tcptraceroute-devel/files/patch-Makefile88
1 files changed, 36 insertions, 52 deletions
diff --git a/net/tcptraceroute-devel/files/patch-Makefile b/net/tcptraceroute-devel/files/patch-Makefile
index 0a1755ab97c9..173962cb0853 100644
--- a/net/tcptraceroute-devel/files/patch-Makefile
+++ b/net/tcptraceroute-devel/files/patch-Makefile
@@ -1,52 +1,36 @@
-*** Makefile.orig Tue Jul 31 23:52:40 2001
---- Makefile Thu Mar 21 16:02:29 2002
-***************
-*** 1,20 ****
- # tcptraceroute -- A traceroute implementation using TCP packets
- # Copyright (c) 2001, Michael C. Toren <mct@toren.net>
-
-! CC = gcc
- CFLAGS = -O2 -Wall
-! DESTDIR=/usr/local/bin
-
- tcptraceroute: tcptraceroute.c
-! $(CC) $(CFLAGS) `libnet-config --defines` \
- -o tcptraceroute tcptraceroute.c \
-! `libnet-config --libs` -lpcap
-
- static:
- $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static"
-
- install: tcptraceroute
-! install -D tcptraceroute $(DESTDIR)/tcptraceroute
-
- distrib: clean changelog man
-
---- 1,27 ----
- # tcptraceroute -- A traceroute implementation using TCP packets
- # Copyright (c) 2001, Michael C. Toren <mct@toren.net>
-
-! CC = cc
- CFLAGS = -O2 -Wall
-! LNETINC= -I/usr/local/include
-! LNETLIB= -L/usr/local/lib
-!
-! BINDIR= ${PREFIX}/bin
-! MANDIR= ${PREFIX}/man
-!
-! all: tcptraceroute
-
- tcptraceroute: tcptraceroute.c
-! $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \
- -o tcptraceroute tcptraceroute.c \
-! $(LNETLIB) `libnet-config --libs` -lpcap
-
- static:
- $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static"
-
- install: tcptraceroute
-! install -c -s tcptraceroute $(BINDIR)/tcptraceroute
-! install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8
-
- distrib: clean changelog man
-
+--- Makefile.orig Wed Aug 1 07:52:40 2001
++++ Makefile Sun Mar 24 10:36:40 2002
+@@ -1,20 +1,27 @@
+ # tcptraceroute -- A traceroute implementation using TCP packets
+ # Copyright (c) 2001, Michael C. Toren <mct@toren.net>
+
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-DESTDIR=/usr/local/bin
++CC ?= cc
++CFLAGS ?= -O2 -Wall
++LNETINC= -I/usr/local/include
++LNETLIB= -L/usr/local/lib
++
++BINDIR= ${PREFIX}/bin
++MANDIR= ${PREFIX}/man
++
++all: tcptraceroute
+
+ tcptraceroute: tcptraceroute.c
+- $(CC) $(CFLAGS) `libnet-config --defines` \
++ $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \
+ -o tcptraceroute tcptraceroute.c \
+- `libnet-config --libs` -lpcap
++ $(LNETLIB) `libnet-config --libs` -lpcap
+
+ static:
+ $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static"
+
+ install: tcptraceroute
+- install -D tcptraceroute $(DESTDIR)/tcptraceroute
++ install -c -s tcptraceroute $(BINDIR)/tcptraceroute
++ install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8
+
+ distrib: clean changelog man
+