mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Respect CC and CFLAGS
PR: ports/107227 Submitted by: farrokhi Approved by: maintainer
This commit is contained in:
parent
14ad5bb3f8
commit
ab34d1aff8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181006
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user