* [PATCH] libnss-mdns: dont use hard coded /lib path
@ 2011-08-03 15:15 Kumar Gala
2011-08-03 15:17 ` Richard Purdie
2011-08-03 15:20 ` Phil Blundell
0 siblings, 2 replies; 3+ messages in thread
From: Kumar Gala @ 2011-08-03 15:15 UTC (permalink / raw)
To: openembedded-core
As libdir might not be /lib (could be /lib64) use ${libdir} instead of
hard coded "/lib" in configure options set in EXTRA_OECONF.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
.../libnss-mdns/libnss-mdns_0.10.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
index f5df005..00f2c56 100644
--- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEPENDS = "avahi"
RDEPENDS_${PN} = "avahi-daemon"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
@@ -21,7 +21,7 @@ inherit autotools
LEAD_SONAME = "libnss_mdns.so"
DEBIANNAME_${PN} = "libnss-mdns"
-EXTRA_OECONF = "--libdir=/lib --disable-lynx --enable-avahi"
+EXTRA_OECONF = "--libdir=${libdir} --disable-lynx --enable-avahi"
# TODO: pattern based configuration update
pkg_postinst_${PN} () {
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libnss-mdns: dont use hard coded /lib path
2011-08-03 15:15 [PATCH] libnss-mdns: dont use hard coded /lib path Kumar Gala
@ 2011-08-03 15:17 ` Richard Purdie
2011-08-03 15:20 ` Phil Blundell
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-03 15:17 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 10:15 -0500, Kumar Gala wrote:
> As libdir might not be /lib (could be /lib64) use ${libdir} instead of
> hard coded "/lib" in configure options set in EXTRA_OECONF.
Do you mean ${libdir} or ${base_libdir} ?
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> .../libnss-mdns/libnss-mdns_0.10.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> index f5df005..00f2c56 100644
> --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
>
> DEPENDS = "avahi"
> RDEPENDS_${PN} = "avahi-daemon"
> -PR = "r2"
> +PR = "r3"
>
> SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
>
> @@ -21,7 +21,7 @@ inherit autotools
> LEAD_SONAME = "libnss_mdns.so"
> DEBIANNAME_${PN} = "libnss-mdns"
>
> -EXTRA_OECONF = "--libdir=/lib --disable-lynx --enable-avahi"
> +EXTRA_OECONF = "--libdir=${libdir} --disable-lynx --enable-avahi"
>
> # TODO: pattern based configuration update
> pkg_postinst_${PN} () {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libnss-mdns: dont use hard coded /lib path
2011-08-03 15:15 [PATCH] libnss-mdns: dont use hard coded /lib path Kumar Gala
2011-08-03 15:17 ` Richard Purdie
@ 2011-08-03 15:20 ` Phil Blundell
1 sibling, 0 replies; 3+ messages in thread
From: Phil Blundell @ 2011-08-03 15:20 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 10:15 -0500, Kumar Gala wrote:
> -EXTRA_OECONF = "--libdir=/lib --disable-lynx --enable-avahi"
> +EXTRA_OECONF = "--libdir=${libdir} --disable-lynx --enable-avahi"
Really? ${libdir} is /usr/lib in most configurations. If you wanted
this to be a no-op for most folks then ${base_libdir} is probably the
variable you need.
p.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-03 15:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 15:15 [PATCH] libnss-mdns: dont use hard coded /lib path Kumar Gala
2011-08-03 15:17 ` Richard Purdie
2011-08-03 15:20 ` Phil Blundell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox