From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Mike Crowe <mac@mcrowe.com>
Subject: Re: [PATCH] libusb1: Cope with ${libdir} and ${base_libdir} being the same
Date: Tue, 07 Feb 2012 20:06:26 -0800 [thread overview]
Message-ID: <4F31F4C2.2090900@linux.intel.com> (raw)
In-Reply-To: <1328535211-24985-1-git-send-email-mac@mcrowe.com>
On 02/06/2012 05:33 AM, Mike Crowe wrote:
> ${libdir} and ${base_libdir} may be the same. If they are don't try and
> move files onto themselves.
>
> Signed-off-by: Mike Crowe<mac@mcrowe.com>
> ---
> meta/recipes-support/libusb/libusb1_1.0.8.bb | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb
> index 8873de7..e45a9d9 100644
> --- a/meta/recipes-support/libusb/libusb1_1.0.8.bb
> +++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb
> @@ -6,7 +6,7 @@ SECTION = "libs"
> LICENSE = "LGPLv2.1+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>
> -PR = "r2"
> +PR = "r3"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
>
> @@ -20,7 +20,9 @@ EXTRA_OECONF = "--libdir=${base_libdir}"
>
> do_install_append() {
> install -d ${D}${libdir}
> - mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
> + if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
> + mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
> + fi
> }
>
> FILES_${PN} += "${base_libdir}/*.so.*"
Merged all 3 of this series into OE-core
Thanks
Sau!
prev parent reply other threads:[~2012-02-08 4:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 13:33 [PATCH] libusb1: Cope with ${libdir} and ${base_libdir} being the same Mike Crowe
2012-02-08 4:06 ` Saul Wold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F31F4C2.2090900@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=mac@mcrowe.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.