Fix lesstif compilation.
authorGraham Gower <graham.gower@gmail.com>
Thu, 10 Sep 2009 17:34:35 +0000 (17:34 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 29 Sep 2009 08:42:20 +0000 (10:42 +0200)
Failed like this:

| /bin/sh ../mipsel-angstrom-linux-libtool --tag=CC   --mode=link mipsel-angstrom-linux-gcc  -isystem/home/grg/oe/tmp/staging/mipsel-angstrom-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3  -L/home/grg/oe/tmp/staging/mipsel-angstrom-linux/usr/lib -Wl,-rpath-link,/home/grg/oe/tmp/staging/mipsel-angstrom-linux/usr/lib -Wl,-O1 -o man2html man2html.o  -L/home/grg/oe/tmp/staging/mipsel-angstrom-linux/usr/lib -lfreetype -L -lXft -lXrender
| mipsel-angstrom-linux-libtool: link: require no space between `-L' and `-lXft'
| make[2]: *** [man2html] Error 1
| make[2]: Leaving directory `/home/grg/oe/tmp/work/mipsel-angstrom-linux/lesstif-0.95.0-r1/lesstif-0.95.0/scripts'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/grg/oe/tmp/work/mipsel-angstrom-linux/lesstif-0.95.0-r1/lesstif-0.95.0/scripts'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/lesstif/lesstif_0.95.0.bb

index cb348e7..5af87e3 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "libs"
 DESCRIPTION = "Free OSM/Motif implementation."
 LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "\
        ${SOURCEFORGE_MIRROR}/lesstif/${BP}.tar.bz2 \
@@ -40,7 +40,7 @@ addtask preconfigure after do_patch before do_configure
 EXTRA_OECONF = "\
        --with-gnu-ld --disable-verbose --disable-build-12 --disable-build-20 \
        --enable-build-21 --enable-xrender --enable-production --without-motif \
-       --x-includes=. \
+       --x-includes=. --x-libraries=. \
 "
 
 PACKAGES += "${PN}-bin"