aboutsummaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile2
-rw-r--r--net/mtr/files/kill-gtk12
2 files changed, 14 insertions, 0 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 8b22b733ddb3..4ef10f5d023d 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mtr
PORTVERSION= 0.42
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
@@ -35,6 +36,7 @@ CONFIGURE_ARGS+=--disable-ipv6
USE_XLIB= yes
USE_GTK= yes
.else
+EXTRA_PATCHES= ${FILESDIR}/kill-gtk
CONFIGURE_ARGS+=--with-gtk-prefix=/nopath
.endif
diff --git a/net/mtr/files/kill-gtk b/net/mtr/files/kill-gtk
new file mode 100644
index 000000000000..30155f7a354a
--- /dev/null
+++ b/net/mtr/files/kill-gtk
@@ -0,0 +1,12 @@
+--- configure.in.orig Tue May 8 00:53:46 2001
++++ configure.in Tue May 8 00:54:12 2001
+@@ -41,7 +41,4 @@
+
+-AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
+- LIBS="$LIBS $GTK_LIBS",
+- AC_MSG_WARN(Building without GTK+ display support)
+- AC_DEFINE(NO_GTK)
+- GTK_OBJ=)
++AC_DEFINE(NO_GTK)
++GTK_OBJ=
+