Skip to contentSkip to conversation

libmcrypt: Run autoreconf steps manually

PATCH New Khem Raj 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libmcrypt: Run autoreconf steps manually

This helps in re-running the configure generation with autotools 2.70+

---
 meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +11 -0
index 46e694be4a..2dc4888f37 100644
@@ -14,4 +14,15 @@ UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P<pver>\d+(\.\d+)+)/"
 
 inherit autotools-brokensep gettext binconfig
 
+do_configure_prepend () {
+        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/config
+        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/config
+        aclocal
+        libtoolize --automake --copy --force
+        autoconf
+        autoheader
+        automake -a
+        oe_runconf
+}
+
 CLEANBROKEN = "1"
Signature · 1 line
2.30.0