From aa03004ace2fabb135a6208ef8c2d2b312aa7b0b Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <zecke@selfish.org>
Date: Wed, 15 Oct 2008 10:56:42 +0200
Subject: [PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PR    
 Allow a distribution to globally bump the PR of every package     this is
 useful when there was a change in the toolchain and     every package is
 going to be different.

    find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR="/"FILE_PR ="/ {} \;
    find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR ="/"FILE_PR ="/ {} \;

Acked-By: Koen Kooi <koen@openembedded.org>
---
 packages/libxml/libxml2-native.inc      | 2 +-
 packages/libxml/libxml2-native_2.7.2.bb | 2 +-
 packages/libxml/libxml2_2.7.2.bb        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/libxml')

diff --git a/packages/libxml/libxml2-native.inc b/packages/libxml/libxml2-native.inc
index 5672792db3..c6965f81c6 100644
--- a/packages/libxml/libxml2-native.inc
+++ b/packages/libxml/libxml2-native.inc
@@ -1,7 +1,7 @@
 DESCRIPTION = "GNOME XML library"
 DEPENDS = "python-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
-PR = "r3"
+FILE_PR = "r3"
 
 SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
 S = "${WORKDIR}/libxml2-${PV}"
diff --git a/packages/libxml/libxml2-native_2.7.2.bb b/packages/libxml/libxml2-native_2.7.2.bb
index 48e35986f6..009732e8dd 100644
--- a/packages/libxml/libxml2-native_2.7.2.bb
+++ b/packages/libxml/libxml2-native_2.7.2.bb
@@ -1,2 +1,2 @@
 require libxml2-native.inc
-PR = "r0"
+FILE_PR = "r0"
diff --git a/packages/libxml/libxml2_2.7.2.bb b/packages/libxml/libxml2_2.7.2.bb
index 555a436a63..e730f0f450 100644
--- a/packages/libxml/libxml2_2.7.2.bb
+++ b/packages/libxml/libxml2_2.7.2.bb
@@ -1,4 +1,4 @@
 require libxml2.inc
 
-PR = "r0"
+FILE_PR = "r0"
 
-- 
cgit v1.2.3