summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-29 23:09:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-29 23:09:06 +0000
commitab34d1aff8fe04051981896dec8fb79990196fe8 (patch)
tree984f7394b0c46efb1046d2b48a1a7b7f9e7f1a92 /dns
parent- Fix MASTER_SITES (point to real URL instead of the one with a redirect). (diff)
- Respect CC and CFLAGS
PR: ports/107227 Submitted by: farrokhi Approved by: maintainer
Notes
Notes: svn path=/head/; revision=181006
Diffstat (limited to 'dns')
-rw-r--r--dns/dnstop/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/dnstop/Makefile b/dns/dnstop/Makefile
index 1230934d44e8..eef1cd8ec52e 100644
--- a/dns/dnstop/Makefile
+++ b/dns/dnstop/Makefile
@@ -12,9 +12,15 @@ MASTER_SITES= http://dns.measurement-factory.com/tools/dnstop/src/
MAINTAINER= mark@foster.cc
COMMENT= Captures and analyzes DNS traffic (or analyzes libpcap dump)
+USE_GCC= 3.4+
+
MAN8= dnstop.8
PLIST_FILES= bin/dnstop
+post-patch:
+ ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS\?=|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|^CC=|CC\?=|' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dnstop ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dnstop.8 ${PREFIX}/man/man8