summaryrefslogtreecommitdiff
path: root/net/tcpview
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2006-05-12 23:05:58 +0000
committerCy Schubert <cy@FreeBSD.org>2006-05-12 23:05:58 +0000
commitbcee83e37b8da8743ec6600055c67fae14d8c9e4 (patch)
treeaaca449990eb71bcd2841f946874165d33733659 /net/tcpview
parentAvoid hard-coding the GCC release series in the cklatest target. (diff)
A quirky bug manifests itself when compiler optimisation is used, e.g.
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.
Diffstat (limited to 'net/tcpview')
-rw-r--r--net/tcpview/Makefile2
-rw-r--r--net/tcpview/files/patch-Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/tcpview/Makefile b/net/tcpview/Makefile
index c2a2c2a73296..5c231b1bc04f 100644
--- a/net/tcpview/Makefile
+++ b/net/tcpview/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcpview
PORTVERSION= 1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= ftp://ftp.cac.washington.edu/pub/noc-tools/tcpview/
EXTRACT_SUFX= .tar.Z
diff --git a/net/tcpview/files/patch-Makefile b/net/tcpview/files/patch-Makefile
index 5c1862c17eef..a4d686855740 100644
--- a/net/tcpview/files/patch-Makefile
+++ b/net/tcpview/files/patch-Makefile
@@ -9,7 +9,7 @@
-INCLUDES = -I..
-LIB =
+DEFINES = -DCSLIP -DPPP
-+CCOPT =
++CCOPT = -O0
+INCLUDES = -I.. -I$(X11BASE)/include
+LIB =-ll