diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:45:09 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:45:09 +0000 |
commit | 13bbd6ec03905a989bce807424b47fa3d4915291 (patch) | |
tree | 6a2dd8c04c6b26be52cadb4b44bc3bbc121da65b | |
parent | fffba252d151740e7d0c8acd797b648f09d85152 (diff) | |
download | poky-13bbd6ec03905a989bce807424b47fa3d4915291.tar.gz |
gnet: Fix pkgconfig issue
-rw-r--r-- | meta/packages/gnet/files/pkgconfig_fix.patch | 12 | ||||
-rw-r--r-- | meta/packages/gnet/gnet_svn.bb | 4 |
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 0000000000..a4a433f1ce --- /dev/null +++ b/meta/packages/gnet/files/pkgconfig_fix.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: trunk/gnet-2.0.pc.in | ||
2 | =================================================================== | ||
3 | --- trunk.orig/gnet-2.0.pc.in 2008-11-06 16:41:25.000000000 +0000 | ||
4 | +++ trunk/gnet-2.0.pc.in 2008-11-06 16:42:23.000000000 +0000 | ||
5 | @@ -6,5 +6,6 @@ | ||
6 | Name: Gnet | ||
7 | Description: A network compatibility layer library | ||
8 | Version: @VERSION@ | ||
9 | +Requires: glib-2.0 gthread-2.0 | ||
10 | Libs: -L${libdir} -lgnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ @GLIB_LIBS@ @GTHREAD_LIBS@ | ||
11 | -Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@ | ||
12 | +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 5ed604d690..49059aecae 100644 --- a/meta/packages/gnet/gnet_svn.bb +++ b/meta/packages/gnet/gnet_svn.bb | |||
@@ -4,10 +4,12 @@ SECTION = "libs/network" | |||
4 | HOMEPAGE = "http://www.gnetlibrary.org" | 4 | HOMEPAGE = "http://www.gnetlibrary.org" |
5 | DEPENDS = "glib-2.0" | 5 | DEPENDS = "glib-2.0" |
6 | PV = "2.0.7+svn${SRCDATE}" | 6 | PV = "2.0.7+svn${SRCDATE}" |
7 | PR = "r1" | ||
7 | 8 | ||
8 | SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \ | 9 | SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \ |
9 | file://buildfix.patch;patch=1 \ | 10 | file://buildfix.patch;patch=1 \ |
10 | file://configure_fix.patch;patch=1" | 11 | file://configure_fix.patch;patch=1 \ |
12 | file://pkgconfig_fix.patch;patch=1 " | ||
11 | 13 | ||
12 | S = "${WORKDIR}/trunk" | 14 | S = "${WORKDIR}/trunk" |
13 | 15 | ||