aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnstop
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-30 07:09:06 +0800
committermiwi <miwi@FreeBSD.org>2006-12-30 07:09:06 +0800
commit4ed3ab59196d6fc72f44e2c643af706409367fb0 (patch)
tree8b9afa41ac1e059633ebe7484f708cf57b76b42d /dns/dnstop
parent7c5a3f9f6ddfc2d1614f23d3f4a8d05d5e58e47f (diff)
downloadfreebsd-ports-gnome-4ed3ab59196d6fc72f44e2c643af706409367fb0.tar.gz
freebsd-ports-gnome-4ed3ab59196d6fc72f44e2c643af706409367fb0.tar.zst
freebsd-ports-gnome-4ed3ab59196d6fc72f44e2c643af706409367fb0.zip
- Respect CC and CFLAGS
PR: ports/107227 Submitted by: farrokhi Approved by: maintainer
Diffstat (limited to 'dns/dnstop')
-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