aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-13 15:02:22 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-13 15:02:22 +0800
commit73c0547b47ec162d4a94d76492ff5621546ec9a7 (patch)
tree2e7867c693221db9dc163deda7bf82de9e98697d /net
parentebaed97632010478dee314042c05531b8dad0613 (diff)
downloadfreebsd-ports-gnome-73c0547b47ec162d4a94d76492ff5621546ec9a7.tar.gz
freebsd-ports-gnome-73c0547b47ec162d4a94d76492ff5621546ec9a7.tar.zst
freebsd-ports-gnome-73c0547b47ec162d4a94d76492ff5621546ec9a7.zip
Support IPv6.
Reviewed by: billf(maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/mtr/Makefile13
-rw-r--r--net/mtr/distinfo1
2 files changed, 13 insertions, 1 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 3ae72b4aa4fe..fbc605a28086 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -11,9 +11,20 @@ CATEGORIES= net
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
+.if defined(USE_INET6)
+PATCHFILES= mtr-041-v6-20000113.diff.gz
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCH_DIST_STRIP= -p1
+.endif
+
MAINTAINER= billf@FreeBSD.org
HAS_CONFIGURE= yes
+.if defined(USE_INET6)
+CONFIGURE_ARGS+=--enable-ipv6
+.else
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
MAN8= mtr.8
@@ -23,7 +34,7 @@ pre-patch:
@${ECHO} "If you want to compile with GTK support,"
@${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" "
@${ECHO} ""
-CONFIGURE_ARGS=--with-gtk-prefix=/nopath
+CONFIGURE_ARGS+=--with-gtk-prefix=/nopath
.else
USE_XLIB= yes
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
diff --git a/net/mtr/distinfo b/net/mtr/distinfo
index 6186e1ce0d6b..51bfc019e3e1 100644
--- a/net/mtr/distinfo
+++ b/net/mtr/distinfo
@@ -1 +1,2 @@
MD5 (mtr-0.41.tar.gz) = fd081c7c27fedfcf9de0dc04e632475b
+MD5 (mtr-041-v6-20000113.diff.gz) = ea85503a903fa0c33be7aafce9b8d7d8