Files
gentoo/dev-util/indent/indent-2.2.13-r1.ebuild
Sam James 97480d80bb dev-util/indent: fix running tests
Nothing happens without the 'check' target these days. It used to be
OK as 'all' in regression/ would run 'test', until upstream commit
271529fc826d82ab30e0e0b886257b7a23d3ef8f (2.2.12).

But in fact we can just drop it entirely and automake handles the rest.

Fixes: 5561facdd9
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-18 11:26:06 +01:00

39 lines
750 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools strip-linguas
DESCRIPTION="Indent program source files"
HOMEPAGE="https://www.gnu.org/software/indent/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="nls"
BDEPEND="
sys-apps/texinfo
nls? ( sys-devel/gettext )
"
DEPEND="nls? ( virtual/libintl )"
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i -e '/AM_CFLAGS/s:-Werror::g' src/Makefile.{am,in} || die
eautoreconf
}
src_configure() {
strip-linguas -i po/
export gl_cv_cc_vis_werror=no
export ac_cv_func_setlocale=$(usex nls)
econf $(use_enable nls)
}