]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk+: Have gtk+ pick up ${NM} from the environment
authorXiaofeng Yan <xiaofeng.yan@windriver.com>
Thu, 17 Nov 2011 10:36:50 +0000 (18:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 22:09:20 +0000 (22:09 +0000)
when gtk+ configures, it should pick up ${NM} from the environment \
if it is defined, instead of just looking for "nm".

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
meta/recipes-gnome/gtk+/gtk+-2.24.6/configure-nm.patch [new file with mode: 0644]
meta/recipes-gnome/gtk+/gtk+_2.24.6.bb

diff --git a/meta/recipes-gnome/gtk+/gtk+-2.24.6/configure-nm.patch b/meta/recipes-gnome/gtk+/gtk+-2.24.6/configure-nm.patch
new file mode 100644 (file)
index 0000000..5aeef50
--- /dev/null
@@ -0,0 +1,14 @@
+Upstream-Status: Inappropriate [configuration]
+Signed-Off-By: Xiaofeng Yan <xiaofeng.yan@windriver.com>
+# Pick up ${NM} from the environment
+--- a/configure.in
++++ b/configure.in
+@@ -190,7 +190,7 @@
+ AC_SYS_LARGEFILE
+ AM_PROG_AS
+-AC_PATH_PROG(NM, nm, nm)
++AC_CHECK_TOOLS(NM, [$NM nm], nm)
+ dnl Initialize maintainer mode
+ AM_MAINTAINER_MODE
index cd5c8cb1161ebdcba30e57862a2b05abf52e7396..ade0a2da327384b874c7ca2eb3a07ec1fabce010 100644 (file)
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
            file://xsettings.patch \
            file://run-iconcache.patch \
+           file://configure-nm.patch \
            file://hardcoded_libtool.patch \
            file://no-demos.patch \
            file://cellrenderer-cairo.patch;striplevel=0 \
@@ -26,7 +27,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
 #        file://combo-arrow-size.patch;striplevel=0
 #            file://configurefix.patch
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[md5sum] = "421100f6597e613234f8dead6091a9fe"
 SRC_URI[sha256sum] = "6f45bdbf9ea27eb3b5f977d7ee2365dede0d0ce454985680c26e5210163bbf37"