summaryrefslogtreecommitdiff
path: root/sysutils/healthd
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-26 12:17:55 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-26 12:17:55 +0000
commitc202d803bd6bb6508299ad74d28fc18fcc0bb6ab (patch)
tree55402a5ca025c12e2bbb349ef7a0d8606e526614 /sysutils/healthd
parentAdd new port: games/nethack3-tty (diff)
Stop make configure from blowing up on systems without IPv6
Submitted by: bento
Notes
Notes: svn path=/head/; revision=34255
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>