MAINTAINER = "Phil Blundell <pb@handhelds.org>"
-SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz"
+SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz \
+ file://configure-lossage.patch;patch=1"
DEPENDS = "guile-native"
inherit autotools
-do_configure() {
- # no autoreconf, thanks
- oe_runconf
+acpaths = "-I ${S}/guile-config"
+
+do_configure_prepend() {
+ libtoolize --force
+ (cd guile-readline; libtoolize --force)
}
do_compile() {
- (cd libguile; oe_runmake CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" guile_filter_doc_snarfage)
+ (cd libguile; oe_runmake CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" guile_filter_doc_snarfage)
oe_runmake preinstguile="`which guile`"
}