diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
commit | eb81a88093e7d71530eebb2957f8ba4317b26ee6 (patch) | |
tree | 9290c97700f22b8ed6b87a10fda7d195dac09f04 /net/tcptraceroute-devel/files | |
parent | e6b247dce1d9f6355a583ef6269fdbba110eaea8 (diff) |
Notes
Diffstat (limited to 'net/tcptraceroute-devel/files')
-rw-r--r-- | net/tcptraceroute-devel/files/patch-Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tcptraceroute-devel/files/patch-Makefile b/net/tcptraceroute-devel/files/patch-Makefile index 6564b05352a2..f137ff657f9d 100644 --- a/net/tcptraceroute-devel/files/patch-Makefile +++ b/net/tcptraceroute-devel/files/patch-Makefile @@ -9,8 +9,8 @@ -DESTDIR=/usr/local/bin +CC?= cc +CFLAGS?= -O -pipe -Wall -+LNETINC= -I${LOCALBASE}/include -+LNETLIB= -L${LOCALBASE}/lib ++LNETINC= `libnet-config --cflags` ++LNETLIB= `libnet-config --libs` + +BINDIR= ${PREFIX}/sbin +MANDIR= ${PREFIX}/man @@ -22,7 +22,7 @@ + $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ -o tcptraceroute tcptraceroute.c \ - `libnet-config --libs` -lpcap -+ $(LNETLIB) `libnet-config --libs` -lpcap ++ $(LNETLIB) -lpcap static: $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" |