enca_1.9.bb: remove unused configure test which is bound to fail.
authorGraham Gower <graham.gower@gmail.com>
Wed, 26 Aug 2009 07:18:36 +0000 (16:48 +0930)
committerPhil Blundell <philb@gnu.org>
Wed, 9 Sep 2009 10:45:33 +0000 (11:45 +0100)
Enca's configure will fail on everything not arm or ix86.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
recipes/enca/enca_1.9.bb
site/arm-linux
site/ix86-common

index 548a824..dbffe1e 100644 (file)
@@ -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
index 4212728..18dfb38 100644 (file)
@@ -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}
index 6410658..3995e67 100644 (file)
@@ -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}