aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/daemontools
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-07 01:59:31 +0800
committerpav <pav@FreeBSD.org>2009-01-07 01:59:31 +0800
commit8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch)
tree06fbb407306ac7e1b7b00946df69737e787c8891 /sysutils/daemontools
parente32973556a174646ad93cdf1b43963a9fc18eb55 (diff)
downloadfreebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz
freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.zst
freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r--sysutils/daemontools/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 3ba9e0e0c413..182c6ded4ad5 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -41,7 +41,8 @@ PATCH_DIST_STRIP= -p2
.endif
USE_RC_SUBR= yes
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR}
+RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR} \
+ DAEMON="/usr/sbin/daemon -f"
WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src
@@ -53,12 +54,6 @@ SERVICEDIR?= /var/service
STARTUP_SCRIPT?= ${SAMPLERC:S/.sample//}
PLIST_SUB+= STARTUP_SCRIPT="${STARTUP_SCRIPT}"
-.if ${OSVERSION} >= 500023
-RC_SCRIPTS_SUB+= DAEMON="/usr/sbin/daemon -f"
-.else
-RC_SCRIPTS_SUB+= DAEMON=""
-.endif
-
.if defined(WITHOUT_TESTS)
EXTRA_PATCHES+= ${FILESDIR}/rts-skip.patch
.endif