aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-24 09:11:12 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-24 09:11:12 +0800
commit75decf3e99823bea1f33cec38f84ca1984d07927 (patch)
treed5625763eb7deedca0ab5458828f2a229be94949 /www
parenta08463d394a28229632b97d9ddc20eecb7790263 (diff)
downloadfreebsd-ports-graphics-75decf3e99823bea1f33cec38f84ca1984d07927.tar.gz
freebsd-ports-graphics-75decf3e99823bea1f33cec38f84ca1984d07927.tar.zst
freebsd-ports-graphics-75decf3e99823bea1f33cec38f84ca1984d07927.zip
Get rid of USE_INET6.
Reviewed by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/w3m/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index a488a2bbdee..757a460552c 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>