summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld>2000-01-28 14:16:25 +0000
committersommerfeld <sommerfeld>2000-01-28 14:16:25 +0000
commit2fe6761a3ab3dfa74c38ff72b9ded8f4a6af3e4c (patch)
tree6d2ff720de85588240b6fe8c73521755355a5b65 /net/mtr
parent35d1a6fbe3da8ea95d0d49ced15920dec3b2a44a (diff)
downloadpkgsrc-2fe6761a3ab3dfa74c38ff72b9ded8f4a6af3e4c.tar.gz
IPv6 support for mtr. From itojun.
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile16
-rw-r--r--net/mtr/files/md53
2 files changed, 17 insertions, 2 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index e86951f3cc6..0532259cc20 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/01/15 18:46:32 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2000/01/28 14:16:25 sommerfeld Exp $
#
# New ports collection makefile for: mtr
# Version required: 0.41
@@ -20,6 +20,19 @@ HOMEPAGE= http://www.bitwizard.nl/mtr/
# needed for 1.4.x, so just use ncurses..
DEPENDS+= ncurses>=4.2:../../devel/ncurses
+BUILD_DEFS= USE_INET6
+.include "../../mk/bsd.prefs.mk"
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+PATCHFILES= mtr-041-v6-20000127a.diff.gz
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCH_DIST_STRIP= -p1
+CONFIGURE_ARGS+=--enable-ipv6
+.else
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mtr-041-v6-20000127a.diff.gz
+MASTER_SITES+= ftp://ftp.kame.net/pub/kame/misc/
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
#.if defined(USE_GTK)
#USE_XLIB= yes
#LIB_DEPENDS= gtk12.2:../../x11-toolkits/gtk12
@@ -27,6 +40,7 @@ DEPENDS+= ncurses>=4.2:../../devel/ncurses
#.endif
GNU_CONFIGURE= yes
+USE_GMAKE= yes
MAN8= mtr.8
CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include
diff --git a/net/mtr/files/md5 b/net/mtr/files/md5
index 67161a5a744..80c69ec117a 100644
--- a/net/mtr/files/md5
+++ b/net/mtr/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.2 1999/12/04 16:50:11 sommerfeld Exp $
+$NetBSD: md5,v 1.3 2000/01/28 14:16:26 sommerfeld Exp $
MD5 (mtr-0.41.tar.gz) = fd081c7c27fedfcf9de0dc04e632475b
+MD5 (mtr-041-v6-20000127a.diff.gz) = eb97821fb9307bf6dffb0610d37ab1bf