summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-25 23:46:11 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-25 23:46:51 +0100
commitc9524e21283c383b848af79ec6e068217acefbe5 (patch)
treedbbba46a5fe3371141838d33bffac7ceb39c0a5b /sys-boot/netboot
parentapp-benchmarks/stress-ng: drop old version (diff)
downloadgentoo-c9524e21283c383b848af79ec6e068217acefbe5.tar.gz
gentoo-c9524e21283c383b848af79ec6e068217acefbe5.tar.bz2
gentoo-c9524e21283c383b848af79ec6e068217acefbe5.zip
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@gentoo.org>
Diffstat (limited to 'sys-boot/netboot')
-rw-r--r--sys-boot/netboot/files/netboot-0.10.2-slibtool.patch11
-rw-r--r--sys-boot/netboot/netboot-0.10.2-r2.ebuild7
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 000000000000..82b83f9b5888
--- /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 0fda56f3ee06..13f09cb9284e 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