The autoconf macros in autogen use dpkg (!) and guile-config to determine what/where Guile is. If the build host has an installed guile, these can produce conflicting results. More interestingly, if the Guile library source and compiled form have bad timestamps (source newer than compiled) the configure scripts knows that Guile is present but doesn't know what version it is, resulting in compile errors. [ YOCTO #3370 (partially) ] (From OE-Core rev: 8a4f07d5111feaa3114e039431785d6ad37529b2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.5 KiB
BlitzBasic
37 lines
1.5 KiB
BlitzBasic
SUMMARY = "AutoGen is a tool to manage programs that contain large amounts of repetitious text."
|
|
DESCRIPTION = "AutoGen is a tool designed to simplify the creation and\
|
|
maintenance of programs that contain large amounts of repetitious text.\
|
|
It is especially valuable in programs that have several blocks of text\
|
|
that must be kept synchronized."
|
|
HOMEPAGE = "http://www.gnu.org/software/autogen/"
|
|
SECTION = "devel"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/autogen/rel${PV}/autogen-${PV}.tar.gz \
|
|
file://guile.patch"
|
|
|
|
SRC_URI[md5sum] = "6c6671b76021fb30dd43b0d5fdb7180b"
|
|
SRC_URI[sha256sum] = "37e885d6c8a58f33ab198d38bb972fa4c14236f951d628161dde6e20527d0df2"
|
|
|
|
PR = "r3"
|
|
|
|
DEPENDS = "guile-native libtool-native libxml2-native"
|
|
RDEPENDS = "automake pkgconfig"
|
|
|
|
inherit autotools native
|
|
|
|
# Following line will be needed for the non-native target recipe.
|
|
#CFLAGS += "-L${STAGING_LIBDIR} -lguile-2.0 -lgc -pthread -I${STAGING_INCDIR}/guile/2.0 -I${STAGING_INCDIR}"
|
|
|
|
# autogen-native links against libguile which may have been relocated with sstate
|
|
# these environment variables ensure there isn't a relocation issue
|
|
export GUILE_LOAD_PATH = "${STAGING_DATADIR_NATIVE}/guile/2.0"
|
|
export GUILE_LOAD_COMPILED_PATH = "${STAGING_LIBDIR_NATIVE}/guile/2.0/ccache"
|
|
|
|
do_install_append () {
|
|
create_wrapper ${D}/${bindir}/autogen \
|
|
GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 \
|
|
GUILE_LOAD_COMPILED_PATH=${STAGING_LIBDIR_NATIVE}/guile/2.0/ccache
|
|
}
|