summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/qof/files/libsql-no-host-includes.patch12
-rw-r--r--packages/qof/qof_0.6.0.bb14
2 files changed, 19 insertions, 7 deletions
diff --git a/packages/qof/files/libsql-no-host-includes.patch b/packages/qof/files/libsql-no-host-includes.patch
new file mode 100644
index 0000000000..345aa2d4ba
--- /dev/null
+++ b/packages/qof/files/libsql-no-host-includes.patch
@@ -0,0 +1,12 @@
+--- /tmp/Makefile.am 2006-12-30 13:42:56.000000000 +0100
++++ qof-0.6.0/lib/libsql/Makefile.am 2006-12-30 13:46:03.952227000 +0100
+@@ -30,9 +30,6 @@
+ @CFLAGS@ \
+ @GLIB_CFLAGS@
+
+-INCLUDES = \
+- -I$(includedir)
+-
+ parser.c: parser.y
+ $(YACC) -v -d -o parser.c -p sql parser.y
+
diff --git a/packages/qof/qof_0.6.0.bb b/packages/qof/qof_0.6.0.bb
index e43a7e4adf..9c35993cb7 100644
--- a/packages/qof/qof_0.6.0.bb
+++ b/packages/qof/qof_0.6.0.bb
@@ -1,20 +1,20 @@
-LICENSE = "GPL"
HOMEPAGE = "http://qof.sourceforge.net/"
+LICENSE = "GPL"
DEPENDS = "glib-2.0 libxml2 libtool zlib"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
- file://fix-includes.patch;patch=1"
-
-
-FILES_${PN} += "/usr/share/xml"
-PARALLEL_MAKE=""
+ file://libsql-no-host-includes.patch;patch=1 \
+ file://fix-includes.patch;patch=1 \
+ "
inherit autotools pkgconfig
+PARALLEL_MAKE = ""
do_stage() {
-autotools_stage_all
+ autotools_stage_all
}
+FILES_${PN} += "/usr/share/xml"