try to fix autotools lossage
authorPhil Blundell <philb@gnu.org>
Fri, 4 Jun 2004 10:08:22 +0000 (10:08 +0000)
committerPhil Blundell <philb@gnu.org>
Fri, 4 Jun 2004 10:08:22 +0000 (10:08 +0000)
BKrev: 40c04a16Svf_qJvI1hU510vfB5vbVg

guile/configure-lossage.patch [new file with mode: 0644]
guile/guile_1.6.4.oe

diff --git a/guile/configure-lossage.patch b/guile/configure-lossage.patch
new file mode 100644 (file)
index 0000000..e69de29
index 13763a1..f0c66ad 100644 (file)
@@ -1,16 +1,19 @@
 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`"
 }