aboutsummaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-24 01:11:12 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-24 01:11:12 +0000
commit64512323b854eecf435263e36eaa92792da40841 (patch)
tree7898e03e8e5839111463ac7a58f3e07cb024165f /www/w3m
parent881cbb086254aee2428900993356386bd32f6df6 (diff)
downloadports-64512323b854eecf435263e36eaa92792da40841.tar.gz
ports-64512323b854eecf435263e36eaa92792da40841.zip
Get rid of USE_INET6.
Reviewed by: maintainer
Notes
Notes: svn path=/head/; revision=24985
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index a488a2bbdee7..757a460552ca 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -33,7 +33,9 @@ DOCS= FAQ.html MANUAL.html MANUAL_lynx.html README \
SED_CMD= -e "s,%%PREFIX%%,${PREFIX},g" \
-e "s,%%LOCALBASE%%,${LOCALBASE},g"
-.if defined(USE_INET6)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
SED_CMD+= -e "s,undef INET6,define INET6,g"
.endif
@@ -84,4 +86,4 @@ post-install:
@${INSTALL_MAN} ${WRKSRC}/doc-jp/w3m.1 ${PREFIX}/man/ja/man1
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>