From 55c7e2755cafebd2ee482b026f351136431fef81 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Wed, 8 Jan 2025 10:17:11 +0100 Subject: [PATCH] net-misc/bird: Backporting the CFLAGS handling Signed-off-by: Alarig Le Lay --- metadata/md5-cache/net-misc/bird-2.16 | 2 +- metadata/md5-cache/net-misc/bird-3.0.0 | 2 +- net-misc/bird/bird-2.16.ebuild | 3 ++- net-misc/bird/bird-3.0.0.ebuild | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/metadata/md5-cache/net-misc/bird-2.16 b/metadata/md5-cache/net-misc/bird-2.16 index 3db174a..870b1d4 100644 --- a/metadata/md5-cache/net-misc/bird-2.16 +++ b/metadata/md5-cache/net-misc/bird-2.16 @@ -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 diff --git a/metadata/md5-cache/net-misc/bird-3.0.0 b/metadata/md5-cache/net-misc/bird-3.0.0 index f17e312..f6dcabd 100644 --- a/metadata/md5-cache/net-misc/bird-3.0.0 +++ b/metadata/md5-cache/net-misc/bird-3.0.0 @@ -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 diff --git a/net-misc/bird/bird-2.16.ebuild b/net-misc/bird/bird-2.16.ebuild index 9a41839..55a32b1 100644 --- a/net-misc/bird/bird-2.16.ebuild +++ b/net-misc/bird/bird-2.16.ebuild @@ -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[@]}" } diff --git a/net-misc/bird/bird-3.0.0.ebuild b/net-misc/bird/bird-3.0.0.ebuild index c8f105e..dd31567 100644 --- a/net-misc/bird/bird-3.0.0.ebuild +++ b/net-misc/bird/bird-3.0.0.ebuild @@ -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[@]}" }