app-misc/glimpse: treeclean

Closes: https://bugs.gentoo.org/879637
Closes: https://bugs.gentoo.org/793044
Closes: https://bugs.gentoo.org/829090
Closes: https://bugs.gentoo.org/684096
Closes: https://bugs.gentoo.org/722348
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2022-12-20 17:24:33 +01:00
parent c16027e063
commit 1cdf3ea132
5 changed files with 0 additions and 109 deletions

View File

@@ -1 +0,0 @@
DIST glimpse-4.18.6.tar.gz 812595 BLAKE2B 427ab2523236d9aa04ad789d001d5234483842f4d8d812a01b7cf2adc9354917da2e95df7b88917d8c0a282c7aab67bfd2cfbb87a6600a31fe6b07b6936137c9 SHA512 884daf2057f46bbe29ad2c3e9000e18a3fcc5101abdcb5193dcf66e5da650e2528a6d2cef05ab4176243f381ba03f533cba989cad329697808d97a61f1b42d3a

View File

@@ -1,42 +0,0 @@
--- a/Makefile.in 2006-03-10 20:42:12.000000000 -0500
+++ b/Makefile.in.new 2010-08-12 21:12:41.000000000 -0400
@@ -52,7 +52,7 @@
PROGAGREP = agrep/agrep
OPTIMIZEFLAGS = -O2
INCLUDEFLAGS = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
-CFLAGS = $(INCLUDEFLAGS) $(DEFS)
+CFLAGS = $(INCLUDEFLAGS) $(DEFS) $(OPTIMIZEFLAGS)
OBJS = get_filename.o \
get_index.o \
@@ -78,7 +78,7 @@
$(INDEXDIR)/memlook.c \
$(INDEXDIR)/io.c
-all: build-sub @TARGET@
+all: build-sub
Sall: $(PROG) $(PROGSERVER) $(PROGINDEX)
agrep: $(PROGAGREP)
NOTSall: $(NOTSPROG) $(NOTSPROGSERVER)
@@ -87,6 +87,7 @@
for d in $(SUBDIRS) ; do \
( cd $$d; $(MAKE) ); \
done
+ $(MAKE) @TARGET@
# Check target
@@ -105,11 +106,11 @@
install-man:
for d in $(MANUAL) ; do \
- $(INSTALL_MAN) $$d $(mandir) ; \
+ $(INSTALL_MAN) $$d $(mandir)/man1/ ; \
done
installdirs: mkinstalldirs
- $(srcdir)/mkinstalldirs $(bindir) $(mandir)
+ $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1/
clean:
for d in $(SUBDIRS); do \

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic toolchain-funcs
DESCRIPTION="A index/query system to search a large set of files quickly"
HOMEPAGE="http://webglimpse.net/"
SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static"
RDEPEND="!dev-libs/tre
!dev-ruby/amatch
!app-text/agrep"
PATCHES=( "${FILESDIR}/${PN}-4.18.6-makefile.patch" )
src_prepare() {
sed -i \
-e "s:CC=.*:CC=$(tc-getCC):" \
-e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
dynfilters/Makefile.in \
|| die "removing -O3 failed"
sed -i \
-e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
{agrep,compress,index}/Makefile.in \
libtemplate/{template,util}/Makefile.in \
|| die "inserting OPTIMIZEFLAGS failed"
sed -i \
-e 's:$(mandir):&/man1/:' \
agrep/Makefile.in \
|| die "adding man1 to man install dir failed"
sed -i \
-e '/^LDFLAGS/d' \
{agrep,compress,index}/Makefile.in \
|| die "LDFLAGS sed failed"
default
}
src_configure() {
use static && append-ldflags -static
default
}
src_compile() {
# The OPTIMIZEFLAGS variable is our own, patched in...
emake OPTIMIZEFLAGS="${CFLAGS}"
}
src_install() {
# The build system is buggy; we get sandbox violations without this.
emake prefix="${ED}/usr" install
}

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@@ -558,7 +558,6 @@ acct-group/cmd5checkpw
acct-user/cmd5checkpw
app-emulation/aqemu
app-forensics/ovaldi
app-misc/glimpse
# Jonas Stein <jstein@gentoo.org> (2022-11-13)
# Dead upstream