git: 78bc0fd539a0 - 2024Q4 - net/bird2: Fix bird_fib support

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Tue, 22 Oct 2024 15:02:50 UTC
The branch 2024Q4 has been updated by olivier:

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

commit 78bc0fd539a066df00613e5326aa0ac00192d4a7
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2024-10-10 20:34:30 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-10-22 15:01:33 +0000

    net/bird2: Fix bird_fib support
    
    PR:             281986
    Reported by:    Egor <banezmesm@gmail.com>
    
    (cherry picked from commit a2952d71507867fb8a13c88f403572f686f2f259)
---
 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"