aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/healthd
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2000-10-26 20:17:55 +0800
committerjeh <jeh@FreeBSD.org>2000-10-26 20:17:55 +0800
commitbd45b5482df9ae264a15d8c15778313e91374e58 (patch)
treec3bf164a7151bbaaef9236750ea90038c54cf09c /sysutils/healthd
parent317a8d9962b03d0fa2410864fa9aef72a3261021 (diff)
downloadfreebsd-ports-gnome-bd45b5482df9ae264a15d8c15778313e91374e58.tar.gz
freebsd-ports-gnome-bd45b5482df9ae264a15d8c15778313e91374e58.tar.zst
freebsd-ports-gnome-bd45b5482df9ae264a15d8c15778313e91374e58.zip
Stop make configure from blowing up on systems without IPv6
Submitted by: bento
Diffstat (limited to 'sysutils/healthd')
-rw-r--r--sysutils/healthd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index a82f5a801e43..12a0c90af661 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -31,6 +31,12 @@ PLIST_SUB= HDDOCS=''
PLIST_SUB= HDDOCS='@comment '
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400014
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
@@ -48,4 +54,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/PROTOCOL ${HDDOCDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>