git: a2952d715078 - main - net/bird2: Fix bird_fib support

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Thu, 10 Oct 2024 20:36:48 UTC
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a2952d71507867fb8a13c88f403572f686f2f259

commit a2952d71507867fb8a13c88f403572f686f2f259
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2024-10-10 20:34:30 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-10-10 20:36:06 +0000

    net/bird2: Fix bird_fib support
    
    PR:             281986
    Reported by:    Egor <banezmesm@gmail.com>
---
 net/bird2/Makefile      | 1 +
 net/bird2/files/bird.in | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/bird2/Makefile b/net/bird2/Makefile
index 438be5d0ccc6..f37fd101c51a 100644
--- a/net/bird2/Makefile
+++ b/net/bird2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bird
 DISTVERSION=	2.15.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://bird.network.cz/download/
 PKGNAMESUFFIX=	2
diff --git a/net/bird2/files/bird.in b/net/bird2/files/bird.in
index 3d8799b3a0e5..de800bd69b81 100644
--- a/net/bird2/files/bird.in
+++ b/net/bird2/files/bird.in
@@ -18,14 +18,13 @@
 name="bird"
 rcvar=bird_enable
 
-command=%%PREFIX%%/sbin/${name}
-
 load_rc_config $name
 
 : ${bird_enable="NO"}
 : ${bird_config="%%PREFIX%%/etc/bird.conf"}
 : ${bird_group="birdvty"}
 
+command=%%PREFIX%%/sbin/${name}
 command_args="-c $bird_config -g $bird_group"
 
 run_rc_command "$1"