This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 meta/classes/autotools.bbclass |   38 +++++++++++++++++++++++++-------------
 meta/packages/pam/pam_1.0.2.bb |    2 +-
 2 files changed, 26 insertions(+), 14 deletions(-)

New commits:
commit 4a3a35f81c9868516fd642be30fcd316ca69e20c
Author: Richard Purdie <[EMAIL PROTECTED]>
Date:   Tue Nov 4 15:40:56 2008 +0000

    autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_all


Diff in this email is a maximum of 400 lines.
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 83ab063..365258f 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -175,6 +175,26 @@ autotools_stage_dir() {
        fi
 }
 
+autotools_stage_libdir() {
+       from="$1"
+       to="$2"
+
+       olddir=`pwd`
+       cd $from
+       las=$(find . -name \*.la -type f)
+       cd $olddir
+       echo "Found la files: $las"              
+       for i in $las
+       do
+               sed -e 's/^installed=yes$/installed=no/' \
+                   -e 
'/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g'
 \
+                   -e 
"/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \
+                   -i $from/$i
+       done
+       autotools_stage_dir $from $to
+}
+
+
 autotools_stage_all() {
        if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
        then
@@ -193,19 +213,11 @@ autotools_stage_all() {
        fi
        if [ -d ${STAGE_TEMP}/${libdir} ]
        then
-               olddir=`pwd`
-               cd ${STAGE_TEMP}/${libdir}
-               las=$(find . -name \*.la -type f)
-               cd $olddir
-               echo "Found la files: $las"              
-               for i in $las
-               do
-                       sed -e 's/^installed=yes$/installed=no/' \
-                           -e 
'/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g'
 \
-                           -e 
"/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \
-                           -i ${STAGE_TEMP}/${libdir}/$i
-               done
-               autotools_stage_dir ${STAGE_TEMP}/${libdir} ${STAGING_LIBDIR}
+               autotools_stage_libdir ${STAGE_TEMP}/${libdir} ${STAGING_LIBDIR}
+       fi
+       if [ -d ${STAGE_TEMP}/${base_libdir} ]
+       then
+               autotools_stage_libdir ${STAGE_TEMP}/${base_libdir} 
${STAGING_DIR_HOST}${layout_base_libdir}
        fi
        rm -rf ${STAGE_TEMP}/${mandir} || true
        rm -rf ${STAGE_TEMP}/${infodir} || true
diff --git a/meta/packages/pam/pam_1.0.2.bb b/meta/packages/pam/pam_1.0.2.bb
index d894824..f80aa15 100644
--- a/meta/packages/pam/pam_1.0.2.bb
+++ b/meta/packages/pam/pam_1.0.2.bb
@@ -1,5 +1,5 @@
 HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/";
-PR = "r5"
+PR = "r6"
 
 SRC_URI = 
"http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.0.2.tar.bz2";
 
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to