summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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