[oe-commits] org.oe.dev apache2-native: replace i686 references with proper ${HOST_SYS} and ${STAGING_...}
awilcox commit
openembedded-commits at lists.openembedded.org
Fri Dec 8 06:45:51 UTC 2006
apache2-native: replace i686 references with proper ${HOST_SYS} and ${STAGING_...}
Author: awilcox at openembedded.org
Branch: org.openembedded.dev
Revision: f14146eea70011b4bb6773d8401d0068d551f29d
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f14146eea70011b4bb6773d8401d0068d551f29d
Files:
1
packages/apache2/apache2-native_2.2.3.bb
Diffs:
#
# mt diff -r9bf79930fdbeb107188631d9e38d57f850e38c00 -rf14146eea70011b4bb6773d8401d0068d551f29d
#
#
#
# patch "packages/apache2/apache2-native_2.2.3.bb"
# from [18163767e4b55247ff724d3ba2d3d2f794083898]
# to [50d480d3bf67b5e552f33a770a91b33b0d14cee5]
#
============================================================
--- packages/apache2/apache2-native_2.2.3.bb 18163767e4b55247ff724d3ba2d3d2f794083898
+++ packages/apache2/apache2-native_2.2.3.bb 50d480d3bf67b5e552f33a770a91b33b0d14cee5
@@ -1,9 +1,9 @@ inherit native
SECTION = "net"
DEPENDS = "expat pcre"
inherit native
-PR="r4"
+PR="r5"
SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2"
S = "${WORKDIR}/httpd-${PV}"
@@ -13,32 +13,32 @@ do_populate_staging () {
}
do_populate_staging () {
- cp srclib/pcre/dftables ../../../staging/i686-linux/bin/
- cp server/gen_test_char ../../../staging/i686-linux/bin/
- cp srclib/apr/apr-1-config ../../../staging/i686-linux/bin/
- cp srclib/apr-util/apu-1-config ../../../staging/i686-linux/bin/
- cp support/apxs ../../../staging/i686-linux/bin/
- chmod 755 ../../../staging/i686-linux/bin/apxs
- mkdir -p ../../../staging/build
- cp build/*.mk ../../../staging/build
+ cp srclib/pcre/dftables ${STAGING_BINDIR}
+ cp server/gen_test_char ${STAGING_BINDIR}
+ cp srclib/apr/apr-1-config ${STAGING_BINDIR}
+ cp srclib/apr-util/apu-1-config ${STAGING_BINDIR}
+ cp support/apxs ${STAGING_BINDIR}
+ chmod 755 ${STAGING_BINDIR}/apxs
+ mkdir -p ${STAGING_DIR}/build
+ cp build/*.mk ${STAGING_DIR}/build
cat build/config_vars.mk | \
- sed -e '/^prefix/s,staging,staging/i686-linux,' | \
+ sed -e '/^prefix/s,staging,staging/${HOST_SYS},' | \
sed -e '/^includedir/s,/include,/include/apache2,' | \
- sed -e 's,staging/bin,staging/i686-linux/bin,' > \
- ../../../staging/build/config_vars.mk
- cp build/instdso.sh ../../../staging/build
- cp .libs/httpd ../../../staging/i686-linux/bin
+ sed -e 's,staging/bin,staging/${HOST_SYS}/bin,' > \
+ ${STAGING_DIR}/build/config_vars.mk
+ cp build/instdso.sh ${STAGING_DIR}/build
+ cp .libs/httpd ${STAGING_BINDIR}
(cd srclib/apr/.libs; tar -cf - libapr-*.so* ) |
- (cd ../../../staging/i686-linux/lib; tar -xf - )
+ (cd ${STAGING_LIBDIR}; tar -xf - )
(cd srclib/apr-util/.libs; tar -cf - libaprutil-*.so* ) |
- (cd ../../../staging/i686-linux/lib; tar -xf - )
+ (cd ${STAGING_LIBDIR}; tar -xf - )
- mkdir -p ../../../staging/i686-linux/include/apache2
- cp include/* ../../../staging/i686-linux/include/apache2
- cp os/unix/os.h ../../../staging/i686-linux/include/apache2
- cp os/unix/unixd.h ../../../staging/i686-linux/include/apache2
+ mkdir -p ${STAGING_INCDIR}/apache2
+ cp include/* ${STAGING_INCDIR}/apache2
+ cp os/unix/os.h ${STAGING_INCDIR}/apache2
+ cp os/unix/unixd.h ${STAGING_INCDIR}/apache2
- cp support/envvars-std ../../../staging/i686-linux/bin/envvars
- chmod 755 ../../../staging/i686-linux/bin/envvars
+ cp support/envvars-std ${STAGING_BINDIR}/envvars
+ chmod 755 ${STAGING_BINDIR}/envvars
}
More information about the Openembedded-commits
mailing list