summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-07 09:59:00 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-07 10:21:34 +0200
commit6b0530a4662a35b10f87a183e1b11fb6ef13cf69 (patch)
tree0c9be64281ae945fa605afe3d23b4074fa7dfc49 /net-analyzer/lft
parentwww-servers/tomcat: bump to 8.5.57 (diff)
downloadgentoo-6b0530a4662a35b10f87a183e1b11fb6ef13cf69.tar.gz
gentoo-6b0530a4662a35b10f87a183e1b11fb6ef13cf69.tar.bz2
gentoo-6b0530a4662a35b10f87a183e1b11fb6ef13cf69.zip
net-analyzer/lft: Remove strip call Makefile.in
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://bugs.gentoo.org/731222 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/lft')
-rw-r--r--net-analyzer/lft/files/lft-3.91-strip.patch11
-rw-r--r--net-analyzer/lft/lft-3.91-r1.ebuild (renamed from net-analyzer/lft/lft-3.91.ebuild)4
2 files changed, 14 insertions, 1 deletions
diff --git a/net-analyzer/lft/files/lft-3.91-strip.patch b/net-analyzer/lft/files/lft-3.91-strip.patch
new file mode 100644
index 000000000000..56657f114b60
--- /dev/null
+++ b/net-analyzer/lft/files/lft-3.91-strip.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -51,8 +51,6 @@
+
+ install: lft lft.8 whob whob.8
+ @echo "LFT and WhoB"
+- @echo " \_Stripping binaries"
+- @$(STRIP) lft whob
+ @echo " \_Copying files to their intended destinations"
+ @test -d $(DESTDIR)$(bindir)/. || $(MKDIR) $(DESTDIR)$(bindir)
+ $(INSTALL) lft $(DESTDIR)$(bindir)/lft
diff --git a/net-analyzer/lft/lft-3.91.ebuild b/net-analyzer/lft/lft-3.91-r1.ebuild
index 3d32b1582d59..576eb0a3cc0b 100644
--- a/net-analyzer/lft/lft-3.91.ebuild
+++ b/net-analyzer/lft/lft-3.91-r1.ebuild
@@ -18,9 +18,11 @@ RDEPEND="
${DEPEND}
"
DOCS=( CHANGELOG README TODO )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.91-strip.patch
+)
src_prepare() {
- sed -i -e 's:strip:true:g' Makefile.in || die
sed -i \
-e 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' \
configure config/acconfig.h.in || die