Patchwork libmusicbrainz: utilize base_libdir when configured

login
register
mail settings
Submitter Kumar Gala
Date Aug. 3, 2011, 3:58 p.m.
Message ID <1312387134-18067-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/9133/
State New, archived
Headers show

Comments

Kumar Gala - Aug. 3, 2011, 3:58 p.m.
Pass $base_libdir through when we configure to support a location
other than /lib.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 .../musicbrainz/libmusicbrainz_3.0.3.bb            |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Saul Wold - Aug. 3, 2011, 5:46 p.m.
On 08/03/2011 08:58 AM, Kumar Gala wrote:
> Pass $base_libdir through when we configure to support a location
> other than /lib.
>
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
>   .../musicbrainz/libmusicbrainz_3.0.3.bb            |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
> index d6fb2f4..20080ee 100644
> --- a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
> +++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24 \
>                       file://include/musicbrainz3/includes.h;beginline=1;endline=21;md5=9ab2846573f560cea7561da472803a72"
>   DEPENDS = "expat neon"
>
> -PR = "r2"
> +PR = "r3"
>
>   SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/${BPN}-${PV}.tar.gz \
>              file://fix_build_issue_for_gcc_4.5.0.patch "
> @@ -15,3 +15,5 @@ SRC_URI[md5sum] = "f4824d0a75bdeeef1e45cc88de7bb58a"
>   SRC_URI[sha256sum] = "7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5"
>
>   inherit cmake pkgconfig
> +
> +EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${base_libdir}"

I think this should be ${libdir}

Sau!

Patch

diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
index d6fb2f4..20080ee 100644
--- a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
+++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24 \
                     file://include/musicbrainz3/includes.h;beginline=1;endline=21;md5=9ab2846573f560cea7561da472803a72"
 DEPENDS = "expat neon"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/${BPN}-${PV}.tar.gz \
            file://fix_build_issue_for_gcc_4.5.0.patch "
@@ -15,3 +15,5 @@  SRC_URI[md5sum] = "f4824d0a75bdeeef1e45cc88de7bb58a"
 SRC_URI[sha256sum] = "7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5"
 
 inherit cmake pkgconfig
+
+EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${base_libdir}"