]> code.ossystems Code Review - openembedded-core.git/commitdiff
libical-dev_2.0: improve reproducibility
authorJuro Bystricky <juro.bystricky@intel.com>
Tue, 20 Mar 2018 22:36:36 +0000 (15:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 May 2018 06:49:31 +0000 (07:49 +0100)
Remove build host references from distributed files.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/libical/libical_2.0.0.bb

index dcc21cc16eea14664eaa93d987d6cdf8c5451f12..daa47abcbcfb2f4a7571cf3d9df698b5e12101f1 100644 (file)
@@ -17,3 +17,10 @@ SRC_URI[sha256sum] = "654c11f759c19237be39f6ad401d917e5a05f36f1736385ed958e60cf2
 UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases"
 
 inherit cmake pkgconfig
+
+do_install_append_class-target () {
+    # Remove build host references
+    sed -i \
+       -e 's,${STAGING_LIBDIR},${libdir},g' \
+       ${D}${libdir}/cmake/LibIcal/LibIcalTargets-noconfig.cmake
+}