summaryrefslogtreecommitdiff
path: root/libsdl
diff options
context:
space:
mode:
Diffstat (limited to 'libsdl')
-rw-r--r--libsdl/libsdl-x11-1.2.7/acinclude.m40
-rw-r--r--libsdl/libsdl-x11_1.2.7.oe9
2 files changed, 8 insertions, 1 deletions
diff --git a/libsdl/libsdl-x11-1.2.7/acinclude.m4 b/libsdl/libsdl-x11-1.2.7/acinclude.m4
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libsdl/libsdl-x11-1.2.7/acinclude.m4
diff --git a/libsdl/libsdl-x11_1.2.7.oe b/libsdl/libsdl-x11_1.2.7.oe
index 9f826e5f4b..21d79583e8 100644
--- a/libsdl/libsdl-x11_1.2.7.oe
+++ b/libsdl/libsdl-x11_1.2.7.oe
@@ -1,3 +1,4 @@
+PR = "r1"
DESCRIPTION = "Simple DirectMedia Layer - X11 Edition"
SECTION = "libs"
PRIORITY = "optional"
@@ -6,7 +7,8 @@ DEPENDS = "x11 xext"
PROVIDES = "virtual/libsdl"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
- file://extra-keys.patch;patch=1"
+ file://extra-keys.patch;patch=1 \
+ file://acinclude.m4"
S = "${WORKDIR}/SDL-${PV}"
inherit autotools
@@ -20,6 +22,11 @@ EXTRA_OECONF = "--disable-debug --disable-cdrom --enable-threads --enable-timers
--disable-video-opengl --enable-input-events --enable-pthreads \
--disable-video-picogui --disable-video-qtopia --enable-dlopen"
+do_configure_prepend() {
+ rm -f ${S}/acinclude.m4
+ cp ${WORKDIR}/acinclude.m4 ${S}/
+}
+
do_stage() {
oe_libinstall -so -C src libSDL ${STAGING_LIBDIR}
ln -sf libSDL.so ${STAGING_LIBDIR}/libSDL-1.2.so