summaryrefslogtreecommitdiff
path: root/meta/packages/gnet
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-06 16:45:09 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-06 16:45:09 +0000
commit13bbd6ec03905a989bce807424b47fa3d4915291 (patch)
tree6a2dd8c04c6b26be52cadb4b44bc3bbc121da65b /meta/packages/gnet
parentfffba252d151740e7d0c8acd797b648f09d85152 (diff)
downloadopenembedded-core-13bbd6ec03905a989bce807424b47fa3d4915291.tar.gz
openembedded-core-13bbd6ec03905a989bce807424b47fa3d4915291.tar.bz2
openembedded-core-13bbd6ec03905a989bce807424b47fa3d4915291.tar.xz
openembedded-core-13bbd6ec03905a989bce807424b47fa3d4915291.zip
gnet: Fix pkgconfig issue
Diffstat (limited to 'meta/packages/gnet')
-rw-r--r--meta/packages/gnet/files/pkgconfig_fix.patch12
-rw-r--r--meta/packages/gnet/gnet_svn.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/gnet/files/pkgconfig_fix.patch b/meta/packages/gnet/files/pkgconfig_fix.patch
new file mode 100644
index 000000000..a4a433f1c
--- /dev/null
+++ b/meta/packages/gnet/files/pkgconfig_fix.patch
@@ -0,0 +1,12 @@
+Index: trunk/gnet-2.0.pc.in
+===================================================================
+--- trunk.orig/gnet-2.0.pc.in 2008-11-06 16:41:25.000000000 +0000
++++ trunk/gnet-2.0.pc.in 2008-11-06 16:42:23.000000000 +0000
+@@ -6,5 +6,6 @@
+ Name: Gnet
+ Description: A network compatibility layer library
+ Version: @VERSION@
++Requires: glib-2.0 gthread-2.0
+ Libs: -L${libdir} -lgnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ @GLIB_LIBS@ @GTHREAD_LIBS@
+-Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@
++Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/
diff --git a/meta/packages/gnet/gnet_svn.bb b/meta/packages/gnet/gnet_svn.bb
index 5ed604d69..49059aeca 100644
--- a/meta/packages/gnet/gnet_svn.bb
+++ b/meta/packages/gnet/gnet_svn.bb
@@ -4,10 +4,12 @@ SECTION = "libs/network"
HOMEPAGE = "http://www.gnetlibrary.org"
DEPENDS = "glib-2.0"
PV = "2.0.7+svn${SRCDATE}"
+PR = "r1"
SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \
file://buildfix.patch;patch=1 \
- file://configure_fix.patch;patch=1"
+ file://configure_fix.patch;patch=1 \
+ file://pkgconfig_fix.patch;patch=1 "
S = "${WORKDIR}/trunk"