net-misc/bird: Backporting the CFLAGS handling

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2025-01-08 10:17:11 +01:00
parent 2434529370
commit 55c7e2755c
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
4 changed files with 6 additions and 4 deletions

View file

@ -12,4 +12,4 @@ RDEPEND=client? ( sys-libs/ncurses:= sys-libs/readline:= ) filecaps? ( acct-grou
SLOT=0
SRC_URI=ftp://bird.network.cz/pub/bird/bird-2.16.tar.gz
_eclasses_=gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 libtool 6b28392a775f807c8be5fc7ec9a605b9 autotools 7d91cc798a8afd8f4e0c6e9587296ebe fcaps 27152c9e4da035accb14a2d7879744ef
_md5_=8a211251a3c532c78f3209ab72193c8e
_md5_=f7e74634a44e2bf36f3c5dec6a871966

View file

@ -11,4 +11,4 @@ RDEPEND=client? ( sys-libs/ncurses:= sys-libs/readline:= ) filecaps? ( acct-grou
SLOT=0
SRC_URI=ftp://bird.network.cz/pub/bird/bird-3.0.0.tar.gz
_eclasses_=gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 libtool 6b28392a775f807c8be5fc7ec9a605b9 autotools 7d91cc798a8afd8f4e0c6e9587296ebe fcaps 27152c9e4da035accb14a2d7879744ef
_md5_=5318e1294df51f16cef366fc818e68f7
_md5_=f848a8558530cf09caf5e58f44364a92

View file

@ -62,7 +62,8 @@ src_configure() {
# optimisations to be fast, as it may very likely be exposed to several
# thounsand BGP updates per seconds
# Although, we make it possible to deactivate it if wanted
use custom-cflags && myargs+=( bird_cv_c_lto=no )
use custom-cflags && myargs+=( bird_cflags_default=no ) || \
myargs+=( bird_cflags_default=yes )
econf "${myargs[@]}"
}

View file

@ -63,7 +63,8 @@ src_configure() {
# optimisations to be fast, as it may very likely be exposed to several
# thounsand BGP updates per seconds
# Although, we make it possible to deactivate it if wanted
use custom-cflags && myargs+=( bird_cv_c_lto=no )
use custom-cflags && myargs+=( bird_cflags_default=no ) || \
myargs+=( bird_cflags_default=yes )
econf "${myargs[@]}"
}