Changeset 1604

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

Updated findutils and perl builds.

Location:
branches/cross/packages
Files:
2 modified

Legend:

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

    r1498 r1604  
    1818 
    1919compile-stage1: 
    20 ifndef CROSS 
    21         ./configure --prefix=$(WD) 
    22 else 
    2320        echo "am_cv_func_working_getline=yes" >> config.cache 
    2421        CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 
    25          --host=$(LFS_TARGET) --cache-file=config.cache 
    26 endif 
     22         --build=$(CLFS_HOST) --host=$(LFS_TARGET) --cache-file=config.cache 
    2723        make $(PM) 
    2824        make install 
     
    3632 
    3733compile-stage2: 
    38 ifndef CROSS 
    39         ./configure --prefix=/usr --libexecdir=/usr/lib/findutils \ 
     34        ./configure --prefix=/usr --libexecdir=/usr/lib/locate \ 
    4035         --localstatedir=/var/lib/locate 
    41 else 
    42         CC="gcc $(64FLAGS)" ./configure --prefix=/usr \ 
    43          --libexecdir=/usr/lib64/findutils --localstatedir=/var/lib/locate 
    44 endif 
    4536        make $(PM) 
    4637        make install 
  • branches/cross/packages/perl/Makefile

    r1506 r1604  
    1313SHA-$(PATCH1)= b72468149c5eee6faefde7f32bb05bda6e2a1c9d 
    1414 
    15 PATCH40= $(DIR)-Configure_multilib-1.patch 
    16 URL-$(PATCH40)= $(HTTP)/$(NM)/$(PATCH40) 
    17 SHA-$(PATCH40)= e2c53f1de5b116f75cfb6c92219012fff9494f78 
    18  
    19 PATCH41= $(DIR)-libc_lib64-1.patch 
    20 URL-$(PATCH41)= $(HTTP)/$(NM)/$(PATCH41) 
    21 SHA-$(PATCH41)= 111f00a3baadaa4551fdaee3599e95401f81aa53 
    22  
    23 include $(CROSSVARS) 
    24  
    25 STAGE2_DEPS = $(FILE) 
    26  
    2715# Targets 
    2816 
    2917include $(ROOT)/scripts/functions 
    3018 
    31 ifdef CROSS 
    32 STAGE2_DEPS += $(PATCH40) $(PATCH41) 
    33 endif 
    3419 
    3520stage1: $(FILE) $(PATCH1) 
     
    3924compile-stage1: 
    4025        patch -Np1 -i ../$(PATCH1) 
    41         ./configure.gnu --prefix=$(WD) -Dstatic_ext='Data/Dumper Fcntl IO POSIX' \ 
    42          $(EXTRA_CONF) 
     26        ./configure.gnu --prefix=$(WD) -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc" 
    4327        make perl utilities 
    44         cp perl pod/pod2man $(WD)/bin 
    45         mkdir -p $(WD)/lib/perl5/$(VRS) 
    46         cp -R lib/* $(WD)/lib/perl5/$(VRS) 
     28        cp -v perl pod/pod2man $(WD)/bin 
     29        install -dv $(WD)/lib/perl5/$(VRS) 
     30        cp -Rv lib/* $(WD)/lib/perl5/$(VRS) 
     31        ln -sv $(WD)/bin/perl /usr/bin 
    4732 
    4833chroot: 
     
    5237stage2: Makefile $(STAGE2_DEPS) 
    5338        $(std_build) 
    54 ifdef CROSS 
    55         cp $(SRC)/{$(PATCH40),$(PATCH41)} $(LFSSRC) 
    56 endif 
    5739 
    5840compile-stage2: 
    59 ifndef CROSS 
    60         ./configure.gnu --prefix=/usr \ 
    61             -Dman1dir=/usr/share/man/man1 \ 
    62             -Dman1dir=/usr/share/man/man1 \ 
    63             -Dpager="/usr/bin/less -isR" 
    64 else 
    65         patch -Np1 -i ../$(PATCH40) 
    66         patch -Np1 -i ../$(PATCH41) 
    67         chmod u+w hints/linux.sh 
    68         echo "installstyle=\"lib64/perl5\"" >> hints/linux.sh 
    69         ./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" \ 
    70          -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \ 
    71          -Dcc="gcc $(64FLAGS)" 
    72 endif 
     41        echo "127.0.0.1 localhost $(HOSTNAME)" > /etc/hosts 
     42        ./configure.gnu --prefix=/usr -Dman1dir=/usr/share/man/man1 \ 
     43         -Dman1dir=/usr/share/man/man1 -Dpager="/bin/less -isR" -Dusethreads 
    7344        make 
    7445        make install