aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gpe-what
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-12-27 20:44:09 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-27 20:44:09 +0000
commit9260966715a758823a1cab490fa5aeefe9983eb0 (patch)
tree1d5ae0619c8f5ac414bbd5dd7cbd996116d465d8 /packages/gpe-what
parentf77dffa3631dc4649dfb6839f53ea2046199be0f (diff)
downloadopenembedded-9260966715a758823a1cab490fa5aeefe9983eb0.tar.gz
gpe-what-0.33: Makefile fix for .dev
Diffstat (limited to 'packages/gpe-what')
-rw-r--r--packages/gpe-what/gpe-what-0.33/.mtn2git_empty0
-rw-r--r--packages/gpe-what/gpe-what-0.33/makefile-fix.patch21
-rw-r--r--packages/gpe-what/gpe-what_0.33.bb2
3 files changed, 23 insertions, 0 deletions
diff --git a/packages/gpe-what/gpe-what-0.33/.mtn2git_empty b/packages/gpe-what/gpe-what-0.33/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpe-what/gpe-what-0.33/.mtn2git_empty
diff --git a/packages/gpe-what/gpe-what-0.33/makefile-fix.patch b/packages/gpe-what/gpe-what-0.33/makefile-fix.patch
new file mode 100644
index 0000000000..3e48d63465
--- /dev/null
+++ b/packages/gpe-what/gpe-what-0.33/makefile-fix.patch
@@ -0,0 +1,21 @@
+--- gpe-what-0.33/Makefile.orig 2005-11-03 21:41:33 +0100
++++ gpe-what-0.33/Makefile 2005-11-03 21:45:10 +0100
+@@ -6,16 +6,14 @@
+
+ MEMBERS = gpe-what mbtray
+
+-PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS)
+-PACKAGE_LDFLAGS += $(GTKLDFLAGS)
++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) `pkg-config --cflags libmb`
++PACKAGE_LDFLAGS += $(GTKLDFLAGS) `pkg-config --libs libmb`
+ PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
+
+ OBJS = $(patsubst %,%.o,$(MEMBERS))
+ DEPS = $(patsubst %,%.d,$(MEMBERS))
+ SOURCES = $(patsubst %,%.c,$(MEMBERS))
+
+-PACKAGE_LDFLAGS += -lmb
+-
+ ifeq ($(CVSBUILD),yes)
+ BUILD = ../build
+ else
diff --git a/packages/gpe-what/gpe-what_0.33.bb b/packages/gpe-what/gpe-what_0.33.bb
index 5268c2cded..062a7c6db1 100644
--- a/packages/gpe-what/gpe-what_0.33.bb
+++ b/packages/gpe-what/gpe-what_0.33.bb
@@ -2,6 +2,8 @@ LICENSE = "GPL"
SECTION = "gpe"
inherit gpe
+SRC_URI += "file://makefile-fix.patch;patch=1"
+
DESCRIPTION = "GPE modal help"
DEPENDS = "x11 xpm libmatchbox"
MAINTAINER = "Phil Blundell <pb@handhelds.org>"