[oe] [meta-oe][PATCH 1/2] imagemagick: Fix configure on x86_64

Khem Raj raj.khem at gmail.com
Mon Sep 19 03:24:18 UTC 2011


imagemagick has configure time execution test for large file offset
they wont be able to run in cross compile. We cache it.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../imagemagick/imagemagick_6.4.4.bb               |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
index 40f9736..c38c644 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.4.4.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e1ebcc1358b9f81eba64255fc5da6892"
 # FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
 DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib"
 
-PR = "r7"
+PR = "r8"
 
 PATCHSET = "1"
 SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
@@ -32,3 +32,7 @@ FILES_${PN}-dbg += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/.debug/*"
 BBCLASSEXTEND = "native"
 
 LEAD_SONAME = "libMagickCore.so.*"
+
+do_configure_prepend() {
+    export ac_cv_sys_file_offset_bits=yes
+}
-- 
1.7.5.4





More information about the Openembedded-devel mailing list