diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-06-12 12:10:11 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-06-12 12:10:11 +0800 |
commit | 73e90e9463c57f1bcaa52ced2bda3fd8af02b294 (patch) | |
tree | 2a29ce91676ae61625cb7eb29bbd62fd78e364cf /net | |
parent | 05cf943d63de0eb5c84aefd57cde2880edc75970 (diff) | |
download | freebsd-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/Makefile | 8 |
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} |