From: <ges...@us...> - 2008-06-02 18:08:39
|
Revision: 1435 http://ipcop.svn.sourceforge.net/ipcop/?rev=1435&view=rev Author: gespinasse Date: 2008-06-02 11:08:45 -0700 (Mon, 02 Jun 2008) Log Message: ----------- More portable to use a simple cp the usual way We could test using set -B later but for now this is ok touch this list of target if you don't want those parts be rebuild now log_i486/01_toolchain/expect-5.43.0 log_i486/01_toolchain/gcc-4.2.3-pass1 log_i486/01_toolchain/gcc-4.2.3-pass2 log_i486/01_toolchain/perl-5.8.8 log_i486/02_base/gcc-4.2.3 log_i486/02_base/perl-5.8.8 log_i486/03_ipcop/gcc-4.2.3-cross-compile Modified Paths: -------------- ipcop/trunk/lfs/expect ipcop/trunk/lfs/gcc ipcop/trunk/lfs/gzip ipcop/trunk/lfs/perl Modified: ipcop/trunk/lfs/expect =================================================================== --- ipcop/trunk/lfs/expect 2008-06-02 17:10:46 UTC (rev 1434) +++ ipcop/trunk/lfs/expect 2008-06-02 18:08:45 UTC (rev 1435) @@ -88,7 +88,7 @@ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/$(PATCH1) - cd $(DIR_APP) && cp configure{,.bak} + cd $(DIR_APP) && cp configure configure.bak cd $(DIR_APP) && sed 's:/usr/local/bin:/bin:' configure.bak > configure cd $(DIR_APP) && ./configure --prefix=/$(TOOLS_DIR) \ --with-tcl=/$(TOOLS_DIR)/lib \ Modified: ipcop/trunk/lfs/gcc =================================================================== --- ipcop/trunk/lfs/gcc 2008-06-02 17:10:46 UTC (rev 1434) +++ ipcop/trunk/lfs/gcc 2008-06-02 18:08:45 UTC (rev 1435) @@ -117,7 +117,7 @@ cd $(DIR_APP) && sed -i 's/^XCFLAGS =$$/& -fomit-frame-pointer/' gcc/Makefile.in # this looks (and is) ugly, see LFS book, chapter 5.11 GCC-4.2.3 - Pass 2 for info cd $(DIR_APP) && for file in $$(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h); do \ - cp -uv $$file{,.orig}; \ + cp -uv $$file $$file.orig; \ sed -e 's@/lib\(64\)\?\(32\)\?/ld@/$(TOOLS_DIR)&@g' \ -e 's@/usr@/$(TOOLS_DIR)@g' $$file.orig > $$file; \ echo -e "\n#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR 0" >> $$file; \ Modified: ipcop/trunk/lfs/gzip =================================================================== --- ipcop/trunk/lfs/gzip 2008-06-02 17:10:46 UTC (rev 1434) +++ ipcop/trunk/lfs/gzip 2008-06-02 18:08:45 UTC (rev 1435) @@ -85,7 +85,7 @@ ifeq "$(STAGE)" "toolchain" # "futimens" used by Gzip is incompatible with Glibc 2.7, rename the function cd $(DIR_APP) && for file in gzip.c lib/utimens.{c,h} ; do \ - cp -v $$file{,.orig}; \ + cp -v $$file $$file.orig; \ sed 's/futimens/gl_&/' $$file.orig > $$file; \ done cd $(DIR_APP) && ./configure --prefix=/$(TOOLS_DIR) Modified: ipcop/trunk/lfs/perl =================================================================== --- ipcop/trunk/lfs/perl 2008-06-02 17:10:46 UTC (rev 1434) +++ ipcop/trunk/lfs/perl 2008-06-02 18:08:45 UTC (rev 1435) @@ -90,7 +90,7 @@ ifeq "$(STAGE)" "toolchain" cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/$(PATCH1) # fix an incompatibility with gcc-4.2.3: - cd $(DIR_APP) && mv -v makedepend.SH{,.orig}; sed 's/command /command[ -]/' makedepend.SH.orig > makedepend.SH + cd $(DIR_APP) && mv -v makedepend.SH makedepend.SH.orig; sed 's/command /command[ -]/' makedepend.SH.orig > makedepend.SH cd $(DIR_APP) && ./configure.gnu --prefix=/$(TOOLS_DIR) \ -Dstatic_ext='Data/Dumper IO Fcntl POSIX' \ -Dd_dosuid \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |