Changeset 1604
- Timestamp:
- 07/12/06 02:09:58 (2 years ago)
- Location:
- branches/cross/packages
- Files:
-
- 2 modified
-
findutils/Makefile (modified) (2 diffs)
-
perl/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cross/packages/findutils/Makefile
r1498 r1604 18 18 19 19 compile-stage1: 20 ifndef CROSS21 ./configure --prefix=$(WD)22 else23 20 echo "am_cv_func_working_getline=yes" >> config.cache 24 21 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 27 23 make $(PM) 28 24 make install … … 36 32 37 33 compile-stage2: 38 ifndef CROSS 39 ./configure --prefix=/usr --libexecdir=/usr/lib/findutils \ 34 ./configure --prefix=/usr --libexecdir=/usr/lib/locate \ 40 35 --localstatedir=/var/lib/locate 41 else42 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \43 --libexecdir=/usr/lib64/findutils --localstatedir=/var/lib/locate44 endif45 36 make $(PM) 46 37 make install -
branches/cross/packages/perl/Makefile
r1506 r1604 13 13 SHA-$(PATCH1)= b72468149c5eee6faefde7f32bb05bda6e2a1c9d 14 14 15 PATCH40= $(DIR)-Configure_multilib-1.patch16 URL-$(PATCH40)= $(HTTP)/$(NM)/$(PATCH40)17 SHA-$(PATCH40)= e2c53f1de5b116f75cfb6c92219012fff9494f7818 19 PATCH41= $(DIR)-libc_lib64-1.patch20 URL-$(PATCH41)= $(HTTP)/$(NM)/$(PATCH41)21 SHA-$(PATCH41)= 111f00a3baadaa4551fdaee3599e95401f81aa5322 23 include $(CROSSVARS)24 25 STAGE2_DEPS = $(FILE)26 27 15 # Targets 28 16 29 17 include $(ROOT)/scripts/functions 30 18 31 ifdef CROSS32 STAGE2_DEPS += $(PATCH40) $(PATCH41)33 endif34 19 35 20 stage1: $(FILE) $(PATCH1) … … 39 24 compile-stage1: 40 25 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" 43 27 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 47 32 48 33 chroot: … … 52 37 stage2: Makefile $(STAGE2_DEPS) 53 38 $(std_build) 54 ifdef CROSS55 cp $(SRC)/{$(PATCH40),$(PATCH41)} $(LFSSRC)56 endif57 39 58 40 compile-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 73 44 make 74 45 make install
