commit:     c9524e21283c383b848af79ec6e068217acefbe5
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 22:46:11 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 22:46:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9524e21

sys-boot/netboot: fix compilation with slibtool

Closes: https://bugs.gentoo.org/778251
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-boot/netboot/files/netboot-0.10.2-slibtool.patch | 11 +++++++++++
 sys-boot/netboot/netboot-0.10.2-r2.ebuild            |  7 +++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch 
b/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch
new file mode 100644
index 00000000000..82b83f9b588
--- /dev/null
+++ b/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch
@@ -0,0 +1,11 @@
+--- a/misc/instdrv.in
++++ b/misc/instdrv.in
+@@ -296,7 +296,7 @@
+ #
+ test -n "$MD5PROG" || MD5PROG="$DEFAULT_MD5PROG"
+ case $MD5PROG in
+-      */libtool*)
++      *libtool*)
+               # It's OK when calling MD5PROG through libtool
+               ;;
+       /*)

diff --git a/sys-boot/netboot/netboot-0.10.2-r2.ebuild 
b/sys-boot/netboot/netboot-0.10.2-r2.ebuild
index 0fda56f3ee0..13f09cb9284 100644
--- a/sys-boot/netboot/netboot-0.10.2-r2.ebuild
+++ b/sys-boot/netboot/netboot-0.10.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,10 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-ldflags.patch"
+       "${FILESDIR}/${P}-slibtool.patch"
+)
 
 src_prepare() {
        default

Reply via email to