Use /etc/rc.subr on systems that have it.

PR:		65609
Submitted By:	Franz Klammer
This commit is contained in:
James E. Housley 2004-04-20 01:28:24 +00:00
parent 0e44801e10
commit 76e742c7f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107645
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= healthd
PORTVERSION= 0.7.6
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= sysutils ipv6
MASTER_SITES= http://healthd.thehousleys.net/ \
http://healthd1.thehousleys.net/
@ -38,6 +38,7 @@ CONFIGURE_ARGS+= --disable-ipv6
.if ${OSVERSION} >= 500038
RC_SUBR?= /etc/rc.subr
EXTRA_PATCHES= files/healthd.sh-500038
.else
USE_RC_SUBR= yes
.endif

View File

@ -0,0 +1,11 @@
--- healthd.sh.orig Fri Apr 16 10:03:37 2004
+++ healthd.sh Fri Apr 16 10:04:17 2004
@@ -13,7 +13,7 @@
#healthd_enable="YES"
#
-. /usr/local/etc/rc.subr
+. /etc/rc.subr
name=healthd
rcvar=`set_rcvar`