commit:     3842e78a955a1172946202090782f288bc309ed9
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  2 18:47:09 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul  3 07:59:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3842e78a

net-libs/nghttp3: make sure elibtoolize is applied even in non-live

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-libs/nghttp3/nghttp3-1.10.1.ebuild   | 7 ++++++-
 net-libs/nghttp3/nghttp3-1.8.0-r1.ebuild | 7 ++++++-
 net-libs/nghttp3/nghttp3-1.9.0.ebuild    | 7 ++++++-
 net-libs/nghttp3/nghttp3-9999.ebuild     | 7 ++++++-
 4 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/net-libs/nghttp3/nghttp3-1.10.1.ebuild 
b/net-libs/nghttp3/nghttp3-1.10.1.ebuild
index 175e47477ab4..cc9fdc61d9e5 100644
--- a/net-libs/nghttp3/nghttp3-1.10.1.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.10.1.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == 9999 ]] ; then
        inherit autotools git-r3
 else
        
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
+       inherit libtool
 
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
 fi
@@ -24,7 +25,11 @@ SLOT="0/0"
 
 src_prepare() {
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               elibtoolize
+       fi
 }
 
 multilib_src_configure() {

diff --git a/net-libs/nghttp3/nghttp3-1.8.0-r1.ebuild 
b/net-libs/nghttp3/nghttp3-1.8.0-r1.ebuild
index 3e35d36e944c..f74790270fb4 100644
--- a/net-libs/nghttp3/nghttp3-1.8.0-r1.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.8.0-r1.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == 9999 ]] ; then
        inherit autotools git-r3
 else
        
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
+       inherit libtool
 
        KEYWORDS="amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv 
sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
 fi
@@ -24,7 +25,11 @@ SLOT="0/0"
 
 src_prepare() {
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               elibtoolize
+       fi
 }
 
 multilib_src_configure() {

diff --git a/net-libs/nghttp3/nghttp3-1.9.0.ebuild 
b/net-libs/nghttp3/nghttp3-1.9.0.ebuild
index 89f4d7c393f4..231589570b68 100644
--- a/net-libs/nghttp3/nghttp3-1.9.0.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.9.0.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == 9999 ]] ; then
        inherit autotools git-r3
 else
        
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
+       inherit libtool
 
        KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv 
~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
 fi
@@ -24,7 +25,11 @@ SLOT="0/0"
 
 src_prepare() {
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               elibtoolize
+       fi
 }
 
 multilib_src_configure() {

diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild 
b/net-libs/nghttp3/nghttp3-9999.ebuild
index 175e47477ab4..cc9fdc61d9e5 100644
--- a/net-libs/nghttp3/nghttp3-9999.ebuild
+++ b/net-libs/nghttp3/nghttp3-9999.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == 9999 ]] ; then
        inherit autotools git-r3
 else
        
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
+       inherit libtool
 
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
 fi
@@ -24,7 +25,11 @@ SLOT="0/0"
 
 src_prepare() {
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       if [[ ${PV} == 9999 ]]; then
+               eautoreconf
+       else
+               elibtoolize
+       fi
 }
 
 multilib_src_configure() {

Reply via email to