aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-06-12 12:10:11 +0800
committerlawrance <lawrance@FreeBSD.org>2006-06-12 12:10:11 +0800
commit73e90e9463c57f1bcaa52ced2bda3fd8af02b294 (patch)
tree2a29ce91676ae61625cb7eb29bbd62fd78e364cf /net
parent05cf943d63de0eb5c84aefd57cde2880edc75970 (diff)
downloadfreebsd-ports-gnome-73e90e9463c57f1bcaa52ced2bda3fd8af02b294.tar.gz
freebsd-ports-gnome-73e90e9463c57f1bcaa52ced2bda3fd8af02b294.tar.zst
freebsd-ports-gnome-73e90e9463c57f1bcaa52ced2bda3fd8af02b294.zip
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)
Diffstat (limited to 'net')
-rw-r--r--net/quagga/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 20ac4d7e93ec..db324e99a8e4 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -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}