Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] libcroco: dont package /usr/bin/croco-0.6-config
@ 2014-07-04 10:54 Ming Liu
  2014-07-04 11:03 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Ming Liu @ 2014-07-04 10:54 UTC (permalink / raw)
  To: openembedded-core

It's build time specific and should not be packaged, otherwise, it will
introduce conflicts among multilib build.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/recipes-support/libcroco/libcroco_0.6.8.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta/recipes-support/libcroco/libcroco_0.6.8.bb b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
index 7d04265..a926a1c 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.8.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
@@ -19,3 +19,14 @@ GNOME_COMPRESS_TYPE = "xz"
 
 SRC_URI[archive.md5sum] = "767e73c4174f75b99695d4530fd9bb80"
 SRC_URI[archive.sha256sum] = "ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570"
+
+#
+# Don't package croco-0.6-config, it's build time specific.
+# Otherwise, it would cause conflicts among multilib install. 
+#
+PACKAGE_PREPROCESS_FUNCS += "croco_package_preprocess"
+croco_package_preprocess () {
+	if [ -f ${PKGD}/${bindir}/croco-0.6-config ]; then
+		rm -f ${PKGD}/${bindir}/croco-0.6-config
+	fi
+}
-- 
1.8.4.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-04 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 10:54 [PATCH 1/2] libcroco: dont package /usr/bin/croco-0.6-config Ming Liu
2014-07-04 11:03 ` Burton, Ross
2014-07-04 11:08   ` Ming Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox