Skip to contentSkip to conversation

libgphoto: Replace 'lib' with ${nonarch_base_libdir}

meta-oe Amarnath Valluri 2 participants 3 messages Feb 8, 2017 – Feb 22, 2017

lore
Share & tools
lore
#0 lore raw

Make use of bitbake variable for udev ruls folder. This change makes the recipe more portable.

---
 meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +1 -1
index 098da79..fa07cd3 100644
@@ -23,7 +23,7 @@ SRC_URI[libgphoto2.sha256sum] = "031a262e342fae43f724afe66787947ce1fb483277dfe5a
 
 inherit autotools pkgconfig gettext lib_package
 
-EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
+EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gd] = ",--without-gdlib,gd"
Signature · 1 line
2.7.4
#1 lore raw

ping - reminder request for feedback

Quoted 21 lines · Amarnath Valluri

Make use of bitbake variable for udev ruls folder. This change makes the recipe more portable.

---
  meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +1 -1
index 098da79..fa07cd3 100644
@@ -23,7 +23,7 @@ SRC_URI[libgphoto2.sha256sum] = "031a262e342fae43f724afe66787947ce1fb483277dfe5a
 
  inherit autotools pkgconfig gettext lib_package
 
-EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
+EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
 
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[gd] = ",--without-gdlib,gd"
#2 lore raw

I don't see it in patchwork, please resend.

Quoted 30 lines · Amarnath Valluri

ping - reminder request for feedback

Quoted 24 lines · Amarnath Valluri

Make use of bitbake variable for udev ruls folder. This change makes the recipe
more portable.

---
  meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.8.bb +0 -0
index 098da79..fa07cd3 100644
@@ -23,7 +23,7 @@ SRC_URI[libgphoto2.sha256sum] =

"031a262e342fae43f724afe66787947ce1fb483277dfe5a
inherit autotools pkgconfig gettext lib_package
-EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev
ac_cv_lib_ltdl_lt_dlcaller_register=yes"
+EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gd] = ",--without-gdlib,gd"