From 3237a77a9ca8b73d7b27ce9dc95f82565111ae93 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Fri, 13 Oct 2023 14:39:54 +0200
Subject: [PATCH] hunspell: autoreconf needs PATH

---
 components/text/hunspell/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/components/text/hunspell/Makefile b/components/text/hunspell/Makefile
index 042920b..b7ca17e 100644
--- a/components/text/hunspell/Makefile
+++ b/components/text/hunspell/Makefile
@@ -20,7 +20,7 @@
 
 COMPONENT_NAME=           hunspell
 COMPONENT_VERSION=        1.7.2
-COMPONENT_REVISION=       1
+COMPONENT_REVISION=       2
 COMPONENT_SUMMARY=        Hunspell is a free spell checker and morphological analyzer library and command-line tool
 COMPONENT_PROJECT_URL=    https://hunspell.github.io/
 COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
@@ -39,7 +39,7 @@
 
 CFLAGS += $(CPP_XPG6MODE)
 
-COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -vif )
+COMPONENT_PREP_ACTION = ( cd $(@D) && PATH="$(PATH)" autoreconf -vif )
 
 # Missing files in build dir without this.
 COMPONENT_PRE_CONFIGURE_ACTION = ( $(CLONEY) $(SOURCE_DIR) $(@D) )
@@ -51,6 +51,9 @@
 CONFIGURE_OPTIONS += --with-ui
 CONFIGURE_OPTIONS += --with-readline
 
+# Drop 32-bit binaries
+COMPONENT_POST_INSTALL_ACTION += $(RM) -r $(PROTOUSRBINDIR32) ;
+
 unexport SHELLOPTS
 
 # Auto-generated dependencies

--
Gitblit v1.9.3