aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2006-05-13 07:05:58 +0800
committercy <cy@FreeBSD.org>2006-05-13 07:05:58 +0800
commitffbd13b1cee74b50e85e55e1a00caf6901749ac6 (patch)
treeb896d4c100260d1463028b6c85dc413cc2bb24c4
parent9314178c4aa1a2c2524663704085900776800f4e (diff)
downloadfreebsd-ports-gnome-ffbd13b1cee74b50e85e55e1a00caf6901749ac6.tar.gz
freebsd-ports-gnome-ffbd13b1cee74b50e85e55e1a00caf6901749ac6.tar.zst
freebsd-ports-gnome-ffbd13b1cee74b50e85e55e1a00caf6901749ac6.zip
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.
-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