[oe-commits] Graham Gower : enca_1.9.bb: remove unused configure test which is bound to fail.

git version control git at git.openembedded.org
Wed Sep 9 10:45:42 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5503c215650838e0e1649421ae540b669991f1b2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5503c215650838e0e1649421ae540b669991f1b2

Author: Graham Gower <graham.gower at gmail.com>
Date:   Wed Aug 26 17:06:36 2009 +0930

enca_1.9.bb: remove unused configure test which is bound to fail.

Enca's configure will fail on everything not arm or ix86.

Signed-off-by: Graham Gower <graham.gower at gmail.com>

---

 recipes/enca/enca_1.9.bb |    7 ++++++-
 site/arm-linux           |    3 ---
 site/ix86-common         |    3 ---
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/recipes/enca/enca_1.9.bb b/recipes/enca/enca_1.9.bb
index 548a824..dbffe1e 100644
--- a/recipes/enca/enca_1.9.bb
+++ b/recipes/enca/enca_1.9.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
 HOMEPAGE = "http://trific.ath.cx/software/enca/"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/enca-${PV}.tar.bz2 \
 	file://configure-hack.patch;patch=1 \
@@ -15,6 +15,11 @@ inherit autotools
 
 EXTRA_OECONF="--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
 
+do_configure_prepend() {
+	# remove failing test which checks for something that isn't even used
+	sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' configure.ac
+}
+
 do_configure_append() {
 	sed -i s:-I/usr/include::g Makefile
 	sed -i s:-I/usr/include::g */Makefile
diff --git a/site/arm-linux b/site/arm-linux
index 4212728..18dfb38 100644
--- a/site/arm-linux
+++ b/site/arm-linux
@@ -148,9 +148,6 @@ samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
 samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes}
 samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
 
-# enca
-yeti_cv_func_scanf_modif_size_t=yes
-
 # clamav
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
diff --git a/site/ix86-common b/site/ix86-common
index 6410658..3995e67 100644
--- a/site/ix86-common
+++ b/site/ix86-common
@@ -90,9 +90,6 @@ ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
 dpkg_cv_va_copy=${ac_cv_va_copy=no}
 dpkg_cv___va_copy=${ac_cv___va_copy=yes}
 
-# enca
-yeti_cv_func_scanf_modif_size_t=yes
-
 # ettercap
 ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
 





More information about the Openembedded-commits mailing list