summaryrefslogtreecommitdiff
path: root/app-text/sgrep/sgrep-1.94a-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/sgrep/sgrep-1.94a-r1.ebuild')
-rw-r--r--app-text/sgrep/sgrep-1.94a-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-text/sgrep/sgrep-1.94a-r1.ebuild b/app-text/sgrep/sgrep-1.94a-r1.ebuild
index eb45eb4f246a..b4a1767756d2 100644
--- a/app-text/sgrep/sgrep-1.94a-r1.ebuild
+++ b/app-text/sgrep/sgrep-1.94a-r1.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit flag-o-matic
+
DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and HTML and filter"
HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
@@ -22,6 +24,8 @@ src_prepare() {
}
src_configure() {
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
econf --datadir="${EPREFIX}"/etc
}