summaryrefslogtreecommitdiff
path: root/packages/gnome/kanjipad_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gnome/kanjipad_svn.bb')
-rw-r--r--packages/gnome/kanjipad_svn.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/gnome/kanjipad_svn.bb b/packages/gnome/kanjipad_svn.bb
index 7061971c83..95bd174b6d 100644
--- a/packages/gnome/kanjipad_svn.bb
+++ b/packages/gnome/kanjipad_svn.bb
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
DEPENDS = "gtk perl-native"
-PV = "0.0+svn${SRCDATE}"
+PV = "2.0.0+svn${SRCDATE}"
inherit pkgconfig
@@ -11,8 +11,9 @@ SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk"
S = "${WORKDIR}/trunk"
-export CFLAGS += '-DKP_LIBDIR="${libdir}/kanjipad" -DBINDIR="${bindir}" `pkg-config --cflags gtk+-2.0` '
-
+do_compile_prepend() {
+ export CFLAGS='${TARGET_CFLAGS} -DFOR_PILOT_COMPAT -DKP_LIBDIR="${libdir}/kanjipad" -DBINDIR="${bindir}" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags glib-2.0`'
+}