summaryrefslogtreecommitdiff
path: root/packages/libxslt
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
commit9bd213b23e9095cc0aa94952cc345a110a5cdc40 (patch)
tree4f862fbb29bc438fe7f45f679934a4ec0b91a436 /packages/libxslt
parentbbd81bb3d973f809636c55c56bdc5b6ec863bfa0 (diff)
Split STAGING_BINDIR into CROSS and NATIVE versions. This means there is no need to rename -config scripts and multimachine won't break with binconfig.bbclass. ***NOTE: This change will require staging to be rebuilt***
Diffstat (limited to 'packages/libxslt')
-rw-r--r--packages/libxslt/libxslt_1.1.12.bb8
-rw-r--r--packages/libxslt/libxslt_1.1.17.bb8
2 files changed, 8 insertions, 8 deletions
diff --git a/packages/libxslt/libxslt_1.1.12.bb b/packages/libxslt/libxslt_1.1.12.bb
index 507b9abc0e..9c59407ebf 100644
--- a/packages/libxslt/libxslt_1.1.12.bb
+++ b/packages/libxslt/libxslt_1.1.12.bb
@@ -31,11 +31,11 @@ do_stage () {
install -m 0644 ${S}/libexslt/$i ${STAGING_INCDIR}/libexslt/$i
done
- cat xslt-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \
- -e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \
+ cat xslt-config | sed -e "s,^prefix=.*,prefix=${STAGING_DIR}/${HOST_SYS}," \
+ -e "s,^exec_prefix=.*,exec_prefix=${STAGING_DIR}/${HOST_SYS}," \
-e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \
- -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/xslt-config
- chmod a+rx ${STAGING_BINDIR}/xslt-config
+ -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR_CROSS}/xslt-config
+ chmod a+rx ${STAGING_BINDIR_CROSS}/xslt-config
install -m 0644 libxslt.m4 ${STAGING_DATADIR}/aclocal/
}
diff --git a/packages/libxslt/libxslt_1.1.17.bb b/packages/libxslt/libxslt_1.1.17.bb
index 507b9abc0e..9c59407ebf 100644
--- a/packages/libxslt/libxslt_1.1.17.bb
+++ b/packages/libxslt/libxslt_1.1.17.bb
@@ -31,11 +31,11 @@ do_stage () {
install -m 0644 ${S}/libexslt/$i ${STAGING_INCDIR}/libexslt/$i
done
- cat xslt-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \
- -e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \
+ cat xslt-config | sed -e "s,^prefix=.*,prefix=${STAGING_DIR}/${HOST_SYS}," \
+ -e "s,^exec_prefix=.*,exec_prefix=${STAGING_DIR}/${HOST_SYS}," \
-e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \
- -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/xslt-config
- chmod a+rx ${STAGING_BINDIR}/xslt-config
+ -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR_CROSS}/xslt-config
+ chmod a+rx ${STAGING_BINDIR_CROSS}/xslt-config
install -m 0644 libxslt.m4 ${STAGING_DATADIR}/aclocal/
}