[oe-commits] Tom Rini : pkconfig.bbclass: Add -R... to the regex, and reindent.

git version control git at git.openembedded.org
Wed Jul 14 20:44:37 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9ea531812022fa5e76f6bcb9ba6ae682194a0b0a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9ea531812022fa5e76f6bcb9ba6ae682194a0b0a

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Jul 14 13:15:41 2010 -0700

pkconfig.bbclass: Add -R... to the regex, and reindent.

clamav 0.96.1 makes use of this flag

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 classes/pkgconfig.bbclass |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index f3d9371..cf37ca1 100644
--- a/classes/pkgconfig.bbclass
+++ b/classes/pkgconfig.bbclass
@@ -1,9 +1,11 @@
 DEPENDS_prepend = "pkgconfig-native "
 
 do_install_prepend () {
-
-for i in `find ${S}/ -name "*.pc" -type f` ; do \
-            sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i
+	for i in `find ${S}/ -name "*.pc" -type f` ; do \
+		sed -i -e 's:-L${STAGING_LIBDIR}::g' \
+			-e 's:-R${STAGING_LIBDIR}::g' \
+			-e 's:-I${STAGING_INCDIR}::g' \
+			$i
         done
 }
 





More information about the Openembedded-commits mailing list