app-arch/lz4: Fix missing Version in .pc, #608144
authorMichał Górny <mgorny@gentoo.org>
Sun, 5 Feb 2017 10:10:58 +0000 (11:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 5 Feb 2017 10:12:45 +0000 (11:12 +0100)
app-arch/lz4/lz4-1.7.5-r1.ebuild [moved from app-arch/lz4/lz4-1.7.5.ebuild with 89% similarity]

similarity index 89%
rename from app-arch/lz4/lz4-1.7.5.ebuild
rename to app-arch/lz4/lz4-1.7.5-r1.ebuild
index 3e59139af39c68c426d8e0343e264d0abadb4f93..baab43b59eb083814c94757f9e6c534891c9358d 100644 (file)
@@ -33,4 +33,7 @@ multilib_src_configure() {
        )
 
        cmake-utils_src_configure
+
+       # fix missing version in .pc, #608144
+       sed -i -e "/Version/s:$:${PV}:" "${BUILD_DIR}"/liblz4.pc || die
 }