summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/221.native_packages_dev.group7
-rw-r--r--patches/indent-2.2.12.local.patch12
2 files changed, 18 insertions, 1 deletions
diff --git a/groups/221.native_packages_dev.group b/groups/221.native_packages_dev.group
index 8f12d86c..d2819d90 100644
--- a/groups/221.native_packages_dev.group
+++ b/groups/221.native_packages_dev.group
@@ -3,7 +3,7 @@
#
GROUP_TARGET="native_packages";
NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" "
-bison chicken cparser diffutils flex gdb gengetopt lua lunix m4 make mandoc nasm
+bison chicken cparser diffutils flex gdb gengetopt indent lua lunix m4 make mandoc nasm
patch patchutils perl python2 python3 ruby sbsigntools smallbasic tk")";
: ${PKG_BISON_DEPENDS:="libreadline"};
: ${PKG_BISON_SHA256SUM:=88d9e36856b004c0887a12ba00ea3c47db388519629483dd8c3fce9694d4da6f};
@@ -54,6 +54,11 @@ patch patchutils perl python2 python3 ruby sbsigntools smallbasic tk")";
: ${PKG_LUA_CONFIGURE_ARGS_EXTRA:="--with-readline --with-compat-module"};
: ${PKG_LUA_FORCE_AUTORECONF:=1};
: ${PKG_LUA_INSTALL_FILES:=@liblua.so=lib/liblua.so.0};
+: ${PKG_INDENT_SHA256SUM:=b745a5dfc68f86a483d7f96dc1cda7aafd1e78ecba3c7d8ad304709e91e1defb};
+: ${PKG_INDENT_VERSION:=2.2.12};
+: ${PKG_INDENT_URL:=https://ftp.gnu.org/gnu/indent/indent-${PKG_INDENT_VERSION}.tar.xz};
+: ${PKG_INDENT_CONFIGURE_ARGS_EXTRA:="--without-included-gettext --without-texinfo"};
+: ${PKG_INDENT_CFLAGS_CONFIGURE_EXTRA:="-Wno-error -DHAVE_LOCALE_H"};
: ${PKG_LUNIX_DEPENDS:="lua"};
: ${PKG_LUNIX_URLS_GIT:=lunix=https://github.com/Redfoxmoon3/lunix.git@master};
: ${PKG_LUNIX_IN_TREE:=1};
diff --git a/patches/indent-2.2.12.local.patch b/patches/indent-2.2.12.local.patch
new file mode 100644
index 00000000..c384344f
--- /dev/null
+++ b/patches/indent-2.2.12.local.patch
@@ -0,0 +1,12 @@
+diff -ru indent-2.2.12.orig/Makefile.in indent-2.2.12/Makefile.in
+--- indent-2.2.12.orig/Makefile.in 2020-11-15 00:08:42.898242760 +0100
++++ indent-2.2.12/Makefile.in 2020-11-15 09:33:23.686422521 +0100
+@@ -378,7 +378,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = no-texinfo.tex
+-SUBDIRS = intl src doc po man regression
++SUBDIRS = intl src doc po man
+ BUILT_SOURCES =
+ DISTFILES = $(DIST_COMMON:README=README.md) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ EXTRA_DIST = README.md \