Apply USE_RCORDER or USE_RC_SUBR, conditional on OSVERSION.

Bump PORTREVISION for the moved startup script.

Submitted by:	Boris Kovalenko <boris@tagnet.ru> (maintainer)
This commit is contained in:
Sam Lawrance 2006-06-12 04:10:11 +00:00
parent d74fc3ab13
commit 94b809ada3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165165

View File

@ -7,6 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.4
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/
@ -114,7 +115,12 @@ EXTRA_PATCHES+=${PATCHDIR}/extra-tcpmd5-patch-bgpd-bgp_network.c ${PATCHDIR}/ext
CFLAGS+= -DQUAGGA_TCP_MD5SIG
.endif
USE_RC_SUBR= quagga.sh watchquagga.sh
USE_RC_SUBR= watchquagga.sh
.if ${OSVERSION} < 500000 || ${OSVERSION} >= 600101
USE_RC_SUBR+= quagga.sh
.else
USE_RCORDER= quagga.sh
.endif
SUB_LIST+= LOCALSTATE_DIR=${LOCALSTATE_DIR} \
SYSCONF_DIR=${SYSCONF_DIR}