mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
bcee83e37b
when CFLAGS=-O is specified in make.conf, causing output that should be displayed on the X display to be sent to stdout instead. This patch forces compiler optimisation to be turned off allowing the port to work as designed regardless of the optimisation specified in make.conf.
32 lines
728 B
Makefile
32 lines
728 B
Makefile
# New ports collection makefile for: tcpview
|
|
# Date created: 18 Aug 2000
|
|
# Whom: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tcpview
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pub/noc-tools/tcpview/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Motif-based TCP/IP protocol analyzer
|
|
|
|
USE_BISON= yes
|
|
USE_MOTIF= yes
|
|
|
|
MAN1= tcpview.1
|
|
|
|
post-patch:
|
|
.for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c
|
|
@${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${X11BASE}/lib/X11/app-defaults/
|
|
|
|
.include <bsd.port.mk>
|