aboutsummaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-25 18:33:42 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-25 18:33:42 +0000
commit8b1bd7114ca87711c6132a85a84a023a80a43b8b (patch)
tree696b86758c402cfe114d722fd124fed6f6c96608 /net/mtr
parentd73db34b43d2f73e8898d40ea5f1f79dc29e9fac (diff)
downloadports-8b1bd7114ca87711c6132a85a84a023a80a43b8b.tar.gz
ports-8b1bd7114ca87711c6132a85a84a023a80a43b8b.zip
Notes
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 94b47dc5df82..98fada6290ab 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -11,23 +11,24 @@ CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
-.if defined(USE_INET6)
+MAINTAINER= billf@FreeBSD.org
+
+HAS_CONFIGURE= yes
+
+MAN8= mtr.8
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
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
-
pre-patch:
.if !defined(USE_GTK)
@${ECHO} ""
@@ -53,4 +54,4 @@ post-install:
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>