summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-01-01 23:49:45 +0000
committerKoen Kooi <koen@openembedded.org>2007-01-01 23:49:45 +0000
commit91b80047232462a613ed043cc8f862d240cf6949 (patch)
tree0596d7e7e7de17072f776e569aa9f350b86211b5 /packages
parent564944c18036d6bc8fb02ea6c3cee334af0b0255 (diff)
kanjipad: correct some cflags
Diffstat (limited to 'packages')
-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`'
+}