diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-21 19:52:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-21 19:52:49 +0000 |
commit | 3df547e2059b4416a266a0df9d41e47176a6061b (patch) | |
tree | c7be1380d67f3a25f1f418aa248af8e44c45112a /meta/packages/libsdl/libsdl-sdk_1.2.11.bb | |
parent | 37d5e5d924140a6a1200c09ec52034aae86198d3 (diff) | |
download | poky-3df547e2059b4416a266a0df9d41e47176a6061b.tar.gz |
libsdl-sdk: Fix configure.in and use autotools do_configure, not a broken imitation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3846 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libsdl/libsdl-sdk_1.2.11.bb')
-rw-r--r-- | meta/packages/libsdl/libsdl-sdk_1.2.11.bb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/meta/packages/libsdl/libsdl-sdk_1.2.11.bb b/meta/packages/libsdl/libsdl-sdk_1.2.11.bb index 3dd27325b0..bcf012ef75 100644 --- a/meta/packages/libsdl/libsdl-sdk_1.2.11.bb +++ b/meta/packages/libsdl/libsdl-sdk_1.2.11.bb | |||
@@ -4,10 +4,11 @@ SECTION = "libs" | |||
4 | LICENSE = "LGPL" | 4 | LICENSE = "LGPL" |
5 | DEPENDS = "libx11-sdk libxext-sdk libxrandr-sdk libxrender-sdk" | 5 | DEPENDS = "libx11-sdk libxext-sdk libxrandr-sdk libxrender-sdk" |
6 | RDEPENDS = "libx11-sdk libxrandr-sdk libxrender-sdk libxext-sdk" | 6 | RDEPENDS = "libx11-sdk libxrandr-sdk libxrender-sdk libxext-sdk" |
7 | PR = "r2" | 7 | PR = "r3" |
8 | 8 | ||
9 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | 9 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ |
10 | file://acinclude.m4 \ | 10 | file://acinclude.m4 \ |
11 | file://configure_tweak.patch;patch=1 \ | ||
11 | file://kernel-asm-page.patch;patch=1 " | 12 | file://kernel-asm-page.patch;patch=1 " |
12 | S = "${WORKDIR}/SDL-${PV}" | 13 | S = "${WORKDIR}/SDL-${PV}" |
13 | 14 | ||
@@ -24,17 +25,6 @@ EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-thread | |||
24 | 25 | ||
25 | PARALLEL_MAKE = "" | 26 | PARALLEL_MAKE = "" |
26 | 27 | ||
27 | do_configure() { | ||
28 | rm -f ${S}/acinclude.m4 | ||
29 | cp ${WORKDIR}/acinclude.m4 ${S}/ | ||
30 | gnu-configize | ||
31 | oe_runconf | ||
32 | cd ${S} | ||
33 | # prevent libtool from linking libs against libstdc++, libgcc, ... | ||
34 | cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp | ||
35 | mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool | ||
36 | } | ||
37 | |||
38 | do_stage() { | 28 | do_stage() { |
39 | autotools_stage_all | 29 | autotools_stage_all |
40 | install -m 0644 ${S}/build/libSDLmain.a ${STAGING_LIBDIR} | 30 | install -m 0644 ${S}/build/libSDLmain.a ${STAGING_LIBDIR} |