]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Zwischencommit fuer LFS.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 8 Oct 2006 18:05:04 +0000 (18:05 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 8 Oct 2006 18:05:04 +0000 (18:05 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@306 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

lfs/autoconf
lfs/bzip2
lfs/ncurses
lfs/perl
make.sh

index 9244fc05d7212e0ef3d91284865580b5597af495..9472aba4cafe49ed8c18f2d19351ac5b69378e01 100644 (file)
@@ -70,7 +70,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
index fb7c0b3894afb0febf35215bb24c0605cdf52c14..6f53ed4bcdaab0ff6bada17449d9c4d36887719c 100644 (file)
--- a/lfs/bzip2
+++ b/lfs/bzip2
@@ -47,9 +47,9 @@ endif
 
 objects = $(DL_FILE)
 
 
 objects = $(DL_FILE)
 
-$(DL_FILE)                        = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
 
-$(DL_FILE)_MD5                    = 8a716bebecb6e647d2e8a29ea5d8447f
+$(DL_FILE)_MD5 = 8a716bebecb6e647d2e8a29ea5d8447f
 
 install : $(TARGET)
 
 
 install : $(TARGET)
 
@@ -86,12 +86,12 @@ ifeq "$(ROOT)" ""
        cd $(DIR_APP) && make clean
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        cd $(DIR_APP) && make clean
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       cp -v bzip2-shared /bin/bzip2
-       cp -av libbz2.so* /lib
-       ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
+       cd $(DIR_APP) && cp -v bzip2-shared /bin/bzip2
+       cd $(DIR_APP) && cp -av libbz2.so* /lib
+       ln -sfv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
        rm -v /usr/bin/{bunzip2,bzcat,bzip2}
        rm -v /usr/bin/{bunzip2,bzcat,bzip2}
-       ln -sv bzip2 /bin/bunzip2
-       ln -sv bzip2 /bin/bzcat
+       ln -sfv bzip2 /bin/bunzip2
+       ln -sfv bzip2 /bin/bzcat
 else
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make PREFIX=/tools install
 else
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make PREFIX=/tools install
index c589c58693b46a83877a87a2e4886ed89c2250e0..1d6d0c71e46eb4e40199ff686a0413cb9c5ae613 100644 (file)
@@ -98,9 +98,9 @@ ifeq "$(ROOT)" ""
        mv -v /usr/lib/libncursesw.so.5* /lib
        ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
        cd $(DIR_APP) && for lib in curses ncurses form panel menu ; do \
        mv -v /usr/lib/libncursesw.so.5* /lib
        ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
        cd $(DIR_APP) && for lib in curses ncurses form panel menu ; do \
-           rm -vf /usr/lib/lib${lib}.so ; \
-           echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \
-           ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \
+           rm -vf /usr/lib/lib$${lib}.so ; \
+           echo "INPUT(-l$${lib}w)" >/usr/lib/lib$${lib}.so ; \
+           ln -sfv lib$${lib}w.a /usr/lib/lib$${lib}.a ; \
        done
        ln -sfv libncurses++w.a /usr/lib/libncurses++.a4
        echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so
        done
        ln -sfv libncurses++w.a /usr/lib/libncurses++.a4
        echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so
index 38ef2a326036aae43d487a2b54729c72e7dda038..2e4ba2d012586aed91be563af270fd1925b6b3e6 100644 (file)
--- a/lfs/perl
+++ b/lfs/perl
@@ -85,6 +85,8 @@ endif
 ifeq "$(ROOT)" ""
        cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \
                -Dman3dir=/usr/share/man/man3 -Dpager="/usr/bin/less -isR"
 ifeq "$(ROOT)" ""
        cd $(DIR_APP) && ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \
                -Dman3dir=/usr/share/man/man3 -Dpager="/usr/bin/less -isR"
+       cd $(DIR_APP) && sed -i 's/^0$$//' makefile
+       cd $(DIR_APP) && sed -i 's/^0$$//' x2p/makefile
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 else
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 else
diff --git a/make.sh b/make.sh
index 1d8ad9824a2f4316bed47409c83b16eec47be9bd..d920f172bf234a2ac42896a3110613a2e6cde8ea 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -191,6 +191,9 @@ prepareenv() {
     mount --bind $BASEDIR/log    $BASEDIR/build/usr/src/log
     mount --bind $BASEDIR/src    $BASEDIR/build/usr/src/src
 
     mount --bind $BASEDIR/log    $BASEDIR/build/usr/src/log
     mount --bind $BASEDIR/src    $BASEDIR/build/usr/src/src
 
+    # This is a temporary hack!!!
+    cp -f /bin/hostname /tools/bin/hostname 2>/dev/null
+
     # Run LFS static binary creation scripts one by one
     export CCACHE_DIR=$BASEDIR/ccache
     export CCACHE_HASHDIR=1
     # Run LFS static binary creation scripts one by one
     export CCACHE_DIR=$BASEDIR/ccache
     export CCACHE_HASHDIR=1