soundserver: Work around libtool breakage.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Wed, 21 Feb 2007 17:59:52 +0000 (17:59 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Wed, 21 Feb 2007 17:59:52 +0000 (17:59 +0000)
packages/gpephone/soundserver/.mtn2git_empty [new file with mode: 0644]
packages/gpephone/soundserver/libtool.patch [new file with mode: 0644]
packages/gpephone/soundserver_1.0.bb

diff --git a/packages/gpephone/soundserver/.mtn2git_empty b/packages/gpephone/soundserver/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/gpephone/soundserver/libtool.patch b/packages/gpephone/soundserver/libtool.patch
new file mode 100644 (file)
index 0000000..6ae60d9
--- /dev/null
@@ -0,0 +1,10 @@
+--- soundserver-1.0/configure.ac.orig  2007-02-21 18:51:48.000000000 +0100
++++ soundserver-1.0/configure.ac       2007-02-21 18:52:03.000000000 +0100
+@@ -9,7 +9,6 @@
+ # Checks for programs.
+ AC_PROG_CC
+-AC_PROG_LIBTOOL
+ # Localization
+ AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
index 5d47d9a..17e3c6b 100644 (file)
@@ -2,16 +2,25 @@ LICENSE     = "LiPS"
 DESCRIPTION = "Cellphone alarm daemon"
 SECTION = "gpe"
 PRIORITY    = "optional"
-PR          = "r0"
+PR          = "r1"
 
 DEPENDS = "glib-2.0 libiac gstreamer"
 
 GPE_TARBALL_SUFFIX = "bz2"
 inherit gpephone autotools
 
+SRC_URI += " file://libtool.patch;patch=1"
+
 EXTRA_OECONF="--disable-osc8k"
 
+LDFLAGS += " -L${STAGING_LIBDIR}"
+
 do_configure () {
        export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
        oe_runconf
 }
+
+do_configure_prepend () {
+       export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
+       autoreconf
+}