public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/lft/files/, net-analyzer/lft/
@ 2020-07-07  8:21 Jeroen Roovers
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2020-07-07  8:21 UTC (permalink / raw
  To: gentoo-commits

commit:     6b0530a4662a35b10f87a183e1b11fb6ef13cf69
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  7 07:59:00 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jul  7 08:21:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0530a4

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 <AT> gentoo.org>

 net-analyzer/lft/files/lft-3.91-strip.patch              | 11 +++++++++++
 net-analyzer/lft/{lft-3.91.ebuild => lft-3.91-r1.ebuild} |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)

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 00000000000..56657f114b6
--- /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
similarity index 91%
rename from net-analyzer/lft/lft-3.91.ebuild
rename to net-analyzer/lft/lft-3.91-r1.ebuild
index 3d32b1582d5..576eb0a3cc0 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-07  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-07  8:21 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/lft/files/, net-analyzer/lft/ Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox