diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2000-01-25 18:33:42 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2000-01-25 18:33:42 +0000 |
commit | f0a8e422e1e4591b7176d0b43220ad55ec839b78 (patch) | |
tree | 3b4fa9674d235f8fcb77ffe8f01c738524a30908 /net/mtr | |
parent | a9335e51df136062eb8b594fd2e6765454c4b6e3 (diff) | |
download | FreeBSD-ports-f0a8e422e1e4591b7176d0b43220ad55ec839b78.zip FreeBSD-ports-f0a8e422e1e4591b7176d0b43220ad55ec839b78.tar.gz |
Use ${OSVERSION} instead of ${USE_INET6}.
Reviewed by: maintainer
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 94b47dc..98fada6 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> |