Changeset 1607

Show
Ignore:
Timestamp:
07/12/06 02:43:39 (2 years ago)
Author:
justin
Message:

More temporary system build upgrades.

Location:
branches/cross/packages
Files:
13 modified

Legend:

Unmodified
Added
Removed
  • branches/cross/packages/bash/Makefile

    r1599 r1607  
    2929        CC="$${CC} $(64FLAGS)" CXX="$${CXX} $(64FLAGS)" \ 
    3030         ./configure --prefix=$(WD) --build=$(CLFS_HOST) \ 
    31          --host=$(LFS_TARGET) --without-bash-malloc \ 
     31         --host=$(CLFS_TARGET) --without-bash-malloc \ 
    3232         --cache-file=config.cache 
    3333        make 
  • branches/cross/packages/findutils/Makefile

    r1604 r1607  
    2020        echo "am_cv_func_working_getline=yes" >> config.cache 
    2121        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    22          --build=$(CLFS_HOST) --host=$(LFS_TARGET) --cache-file=config.cache 
     22         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) --cache-file=config.cache 
    2323        make $(PM) 
    2424        make install 
  • branches/cross/packages/gawk/Makefile

    r1605 r1607  
    2323compile-stage1: 
    2424        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    25          --build=$(LFS_HOST) --host=$(LFS_TARGET) 
     25         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 
    2626        make $(PM) 
    2727        make install 
  • branches/cross/packages/gettext/Makefile

    r1498 r1607  
    1818 
    1919compile-stage1: 
    20 ifndef CROSS 
    21         cd $(NM)-tools ; ./configure --prefix=$(WD) --disable-shared 
    22 else 
    2320        cd $(NM)-tools ; echo "am_cv_func_working_getline=yes" >> config.cache 
    2421        cd $(NM)-tools ; CC="$${CC} $(64FLAGS)" CXX="$${CXX} $(64FLAGS)" \ 
    25          ./configure --prefix=$(WD) --host=$(LFS_TARGET) --disable-shared \ 
    26          --cache-file=config.cache 
    27 endif 
     22         ./configure --prefix=$(WD) --build=$(CLFS_HOST) --host=$(CLFS_TARGET) \ 
     23         --disable-shared --cache-file=config.cache 
    2824        cd $(NM)-tools ; make -C lib 
    2925        cd $(NM)-tools ; make -C src msgfmt 
     
    3834 
    3935compile-stage2: 
    40 ifndef CROSS 
    4136        ./configure --prefix=/usr 
    42 else 
    43 ifeq ($(LFS-ARCH),x86_64) 
    44         sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef] 
    45 endif 
    46         CC="gcc $(64FLAGS)" CXX="g++ $(64FLAGS)" \ 
    47          ./configure --prefix=/usr --libdir=/usr/lib64 
    48 endif 
    4937        make 
    5038        make install 
  • branches/cross/packages/grep/Makefile

    r1350 r1607  
    11# Grep Makefile 
    2  
    3 # Do not update this package before RedHat! Some of the fixes are scheduled 
    4 # for grep-2.5.3, not 2.5.2 
    52 
    63NM= grep 
     
    129SHA-$(FILE)= 2cd082775d30be463c0ac674a00595eb56fda22e 
    1310 
    14 PATCH50= $(DIR)-redhat_fixes-2.patch 
    15 URL-$(PATCH50)= $(HTTP)/$(NM)/$(PATCH50) 
    16 SHA-$(PATCH50)= 6f7f1623d1909f07dc08a8a16a24cbce6be8dfc5 
    17  
    1811# Targets 
    1912 
     
    2114 
    2215stage1: $(FILE) 
    23         $(std_build) # See the scripts/functions file for functions like this 
     16        $(std_build) 
    2417        cp $(SRC)/$(FILE) $(LFSSRC) 
    2518 
    2619compile-stage1: 
    27 ifndef CROSS 
    28         ./configure --prefix=$(WD) --disable-perl-regexp 
    29 else 
    3020        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    31          --host=$(LFS_TARGET) --disable-perl-regexp 
    32 endif 
     21         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) --disable-perl-regexp 
    3322        make $(PM) 
    3423        make install 
     
    3827        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    3928 
    40 stage2: Makefile $(FILE) $(PATCH50) 
     29stage2: Makefile $(FILE) 
    4130        $(std_build) 
    42         cp $(SRC)/$(PATCH50) $(LFSSRC) 
    4331 
    4432compile-stage2: 
    45         patch -Np1 -i ../$(PATCH50) 
    46 ifndef CROSS 
    4733        ./configure --prefix=/usr --bindir=/bin 
    48 else 
    49         CC="gcc $(64FLAGS)" ./configure --prefix=/usr \ 
    50          --bindir=/bin 
    51 endif 
    5234        make $(PM) 
    5335        make install 
  • branches/cross/packages/gzip/Makefile

    r1499 r1607  
    2222 
    2323compile-stage1: 
    24 ifndef CROSS 
    25         ./configure --prefix=$(WD) 
    26 else 
    27         cp configure{,.bak} 
    28         sed "s@nm conftest@$(LFS_TARGET)-&@" configure.bak > configure 
    29         CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    30          --host=$(LFS_TARGET) 
    31 endif 
     24        cp configure{,.orig} 
     25        sed "s@nm conftest@$(CLFS_TARGET)-&@" configure.orig > configure 
     26        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) --build=$(CLFS_HOST) \ 
     27         --host=$(CLFS_TARGET) 
    3228        make $(PM) 
    3329        make install 
     
    4339compile-stage2: 
    4440        patch -Np1 -i ../$(PATCH1) 
    45 ifndef CROSS 
    4641        ./configure --prefix=/usr 
    47 else 
    48         CC="gcc $(64FLAGS)" ./configure --prefix=/usr 
    49 endif 
    5042        sed -i 's@"BINDIR"@/bin@g' gzexe.in 
    5143        make $(PM) 
     
    5345        mv -v /usr/bin/gzip /bin 
    5446        rm -v /usr/bin/{gunzip,zcat} 
    55         ln -sfv gzip /bin/gunzip 
    56         ln -sfv gzip /bin/zcat 
    57         ln -sfv gzip /bin/compress 
    58         ln -sfv gunzip /bin/uncompress 
     47        ln -sv gzip /bin/gunzip 
     48        ln -sv gzip /bin/zcat 
     49        ln -sv gzip /bin/compress 
     50        ln -sv gunzip /bin/uncompress 
    5951 
    6052clean: 
  • branches/cross/packages/make/Makefile

    r956 r1607  
    22 
    33NM= make 
    4 VRS= 3.80 
     4VRS= 3.81 
    55DIR= $(NM)-$(VRS) 
    66 
    77FILE= $(DIR).tar.bz2 
    88URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 
    9 SHA-$(FILE)= d2085842f08e57d58d3e1cd75a5f0342a60e5f45 
     9SHA-$(FILE)= 41ed86d941b9c8025aee45db56c0283169dcab3d 
    1010 
    1111# Targets 
     
    1818 
    1919compile-stage1: 
    20 ifndef CROSS 
    21         ./configure --prefix=$(WD) 
    22 else 
    2320        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    24          --host=$(LFS_TARGET) 
    25 endif 
     21         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 
    2622        make $(PM) 
    2723        make install 
     
    3531 
    3632compile-stage2: 
    37 ifndef CROSS 
    3833        ./configure --prefix=/usr 
    39 else 
    40         CC="gcc $(64FLAGS)" ./configure --prefix=/usr 
    41 endif 
    4234        make $(PM) 
    4335        make install 
  • branches/cross/packages/patch/Makefile

    r1499 r1607  
    22 
    33NM= patch 
    4 VRS= 2.5.4 
     4VRS= 2.5.9 
    55DIR= $(NM)-$(VRS) 
    66 
    77FILE= $(DIR).tar.gz 
    88URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 
    9 SHA-$(FILE)= a12d520eba0dc35d1c4d50ec75b7684451a40de9 
     9SHA-$(FILE)= 9a69f7191576549255f046487da420989d2834a6 
    1010 
    1111# Targets 
     
    1818 
    1919compile-stage1: 
    20 ifndef CROSS 
    21         # CPPFLAGS=-D_GNU_SOURCE is for ppc 
    22         CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=$(WD) 
    23 else 
    2420        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    25          --host=$(LFS_TARGET) 
    26 endif 
     21         --build-$(CLFS_HOST) --host=$(CLFS_TARGET) 
    2722        make $(PM) 
    2823        make install 
     
    3631 
    3732compile-stage2: 
    38 ifndef CROSS 
    39         CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr 
    40 else 
    41         CC="gcc $(64FLAGS)" ./configure --prefix=/usr 
    42 endif 
     33        ./configure --prefix=/usr 
    4334        make $(PM) 
    4435        make install 
  • branches/cross/packages/sed/Makefile

    r1605 r1607  
    1919compile-stage1: 
    2020        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    21          --build=$(LFS_HOST) --host=$(LFS_TARGET) 
     21         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 
    2222        make $(PM) 
    2323        make install 
  • branches/cross/packages/tar/Makefile

    r1488 r1607  
    2525include $(ROOT)/scripts/functions 
    2626 
    27 stage1: $(FILE) $(PATCH1) 
     27stage1: $(FILE) 
    2828        $(std_build) 
    29         cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC)/ 
     29        cp $(SRC)/$(FILE) $(LFSSRC)/ 
    3030 
    3131compile-stage1: 
    32 ifndef CROSS 
    33         patch -Np1 -i ../$(PATCH1) 
    34         ./configure --prefix=$(WD) 
    35 else 
    3632        echo "am_cv_func_working_getline=yes" >> config.cache 
    3733        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    38          --host=$(LFS_TARGET) --cache-file=config.cache 
    39 endif 
     34         --build=$(CLFS_HOST) --host=$(CLFS_TARGET) --cache-file=config.cache 
    4035        make $(PM) 
    4136        make install 
     
    4742stage2: Makefile $(FILE) $(PATCH1) $(PATCH2) $(PATCH3) 
    4843        $(std_build) 
    49         cp $(SRC)/{$(PATCH2),$(PATCH3)} $(LFSSRC) 
     44        cp $(SRC)/{$(PATCH1),$(PATCH2),$(PATCH3)} $(LFSSRC) 
    5045 
    5146compile-stage2: 
     
    5348        patch -Np1 -i ../$(PATCH2) 
    5449        patch -Np1 -i ../$(PATCH3) 
    55 ifndef CROSS 
    5650        ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin 
    57 else 
    58         CC="gcc $(64FLAGS)" ./configure --prefix=/usr \ 
    59          --bindir=/bin --libexecdir=/usr/sbin 
    60 endif 
    6151        make $(PM) 
    6252        make install 
  • branches/cross/packages/texinfo/Makefile

    r1605 r1607  
    2424compile-stage1: 
    2525        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) --build=$(CLFS_HOST) \ 
    26          --host=$(LFS_TARGET) 
     26         --host=$(CLFS_TARGET) 
    2727        make $(PM) 
    2828        make install 
  • branches/cross/packages/util-linux/Makefile

    r1488 r1607  
    1313SHA-$(PATCH1)= 00f5192493b939c2c996df9c1f3f769abfa3fa8c 
    1414 
    15 PATCH31= $(DIR)-gcc4_fixes-1.patch 
    16 URL-$(PATCH31)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH31) 
    17 SHA-$(PATCH31)= 638972c2f2b09cf20aac60ede91e803a96cea4d9 
     15PATCH2= $(DIR)-gcc4_fixes-1.patch 
     16URL-$(PATCH2)= $(HTTP)/$(NM)/$(PATCH2) 
     17SHA-$(PATCH2)= 638972c2f2b09cf20aac60ede91e803a96cea4d9 
    1818 
    19 STAGE1_DEPS = $(FILE) 
    20 STAGE2_DEPS = $(FILE) $(PATCH1) 
    21  
    22 ifdef CROSS 
    23 STAGE1_DEPS+= $(PATCH31) 
    24 STAGE2_DEPS+= $(PATCH31) 
    25 endif 
     19PATCH3= $(DIR)-missing_header-1.patch 
     20URL-$(PATCH3)= $(HTTP)/$(NM)/$(PATCH3) 
     21SHA-$(PATCH3)= 63e2ff9cd87d986d4169202646b21044f2171c23 
    2622 
    2723# Targets 
     
    2925include $(ROOT)/scripts/functions 
    3026 
    31 stage1: $(STAGE1_DEPS) 
     27stage1: $(FILE) $(PATCH2) 
    3228        $(std_build) 
    33         for i in $(STAGE1_DEPS) ; do cp $(SRC)/$$i $(LFSSRC) ; done 
     29        cp $(SRC)/{$(FILE),$(PATCH2)} $(LFSSRC) 
    3430 
    3531compile-stage1: 
    36         sed -i 's@/usr/include@$(WD)/include@g' configure 
    37 ifndef CROSS 
    38         ./configure 
    39         make -C lib 
    40         make -C mount mount umount 
    41         make -C text-utils more 
    42 else 
    43         patch -Np1 -i ../$(PATCH31) 
    44         cp -v configure configure.orig 
     32        patch -Np1 -i ../$(PATCH2) 
     33        cp -v configure{,.orig} 
    4534        sed -e 's@/usr/include@$(WD)/include@g' configure.orig > configure 
    4635        CC="$${CC} $(64FLAGS)" ./configure 
     
    4837        make ARCH="" CPU="" -C mount mount umount 
    4938        make ARCH="" CPU="" -C text-utils more 
    50 endif 
    5139        cp mount/{,u}mount text-utils/more $(WD)/bin 
    5240 
     
    5543        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    5644 
    57 stage2: Makefile $(STAGE2_DEPS) 
     45stage2: Makefile $(FILE) $(PATCH1) $(PATCH3) 
    5846        $(std_build) 
    59         cp $(SRC)/$(PATCH1) $(LFSSRC)/ 
     47        cp $(SRC)/{$(PATCH1),$(PATCH3)} $(LFSSRC)/ 
    6048 
    6149compile-stage2: 
    6250        sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c 
    63         mkdir -p /var/lib/hwclock 
     51        mkdir -pv /var/lib/hwclock 
    6452        patch -Np1 -i ../$(PATCH1) 
    65 ifndef CROSS 
     53        patch -Np1 -i ../$(PATCH2) 
     54        patch -Np1 -i ../$(PATCH3) 
    6655        ./configure 
    67 else 
    68         patch -Np1 -i ../$(PATCH31) 
    69         CC="gcc $(64FLAGS)" ./configure 
    70 endif 
    7156        make $(PM) HAVE_KILL=yes HAVE_SLN=yes 
    7257        make HAVE_KILL=yes HAVE_SLN=yes install 
     58        mv -v /usr/bin/logger /bin 
    7359 
    7460clean: 
  • branches/cross/packages/wget/Makefile

    r1599 r1607  
    3131compile-stage1: 
    3232        ./configure --prefix=$(WD) --libdir=$(WD)/lib --without-ssl \ 
    33          --enable-static --disable-shared --disable-nls --host=$(LFS_TARGET) 
     33         --enable-static --disable-shared --disable-nls --build=$(CLFS_HOST) \ 
     34         --host=$(CLFS_TARGET) 
    3435        make $(PM) 
    3536        make install