aboutsummaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-13 07:02:22 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-13 07:02:22 +0000
commit85e603e3f021ed90c43b229decdda5b8215c03ea (patch)
tree6af2ee7cf558256a719eecf1d2a39640c0fa4823 /net/mtr
parente8076b573db01e10e816077332221dc4070843ab (diff)
downloadports-85e603e3f021ed90c43b229decdda5b8215c03ea.tar.gz
ports-85e603e3f021ed90c43b229decdda5b8215c03ea.zip
Support IPv6.
Reviewed by: billf(maintainer)
Notes
Notes: svn path=/head/; revision=24694
Diffstat (limited to 'net/mtr')
-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