aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2004-04-20 09:28:24 +0800
committerjeh <jeh@FreeBSD.org>2004-04-20 09:28:24 +0800
commit3e6634d808b30f410425112e08b5cb47d810f2b8 (patch)
treedbbc7101d93d6251c803db10928fccb9e23be606 /sysutils
parent50b0cd8bf88df8a55b84b1a02dba70effbafd3b1 (diff)
downloadfreebsd-ports-gnome-3e6634d808b30f410425112e08b5cb47d810f2b8.tar.gz
freebsd-ports-gnome-3e6634d808b30f410425112e08b5cb47d810f2b8.tar.zst
freebsd-ports-gnome-3e6634d808b30f410425112e08b5cb47d810f2b8.zip
Use /etc/rc.subr on systems that have it.
PR: 65609 Submitted By: Franz Klammer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/healthd/Makefile3
-rw-r--r--sysutils/healthd/files/healthd.sh-50003811
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index dbaa9c5b60a2..c1a7e134ad10 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -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
diff --git a/sysutils/healthd/files/healthd.sh-500038 b/sysutils/healthd/files/healthd.sh-500038
new file mode 100644
index 000000000000..a5178f15e18f
--- /dev/null
+++ b/sysutils/healthd/files/healthd.sh-500038
@@ -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`