Changeset 1607
- Timestamp:
- 07/12/06 02:43:39 (2 years ago)
- Location:
- branches/cross/packages
- Files:
-
- 13 modified
-
bash/Makefile (modified) (1 diff)
-
findutils/Makefile (modified) (1 diff)
-
gawk/Makefile (modified) (1 diff)
-
gettext/Makefile (modified) (2 diffs)
-
grep/Makefile (modified) (4 diffs)
-
gzip/Makefile (modified) (3 diffs)
-
make/Makefile (modified) (3 diffs)
-
patch/Makefile (modified) (3 diffs)
-
sed/Makefile (modified) (1 diff)
-
tar/Makefile (modified) (3 diffs)
-
texinfo/Makefile (modified) (1 diff)
-
util-linux/Makefile (modified) (4 diffs)
-
wget/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/cross/packages/bash/Makefile
r1599 r1607 29 29 CC="$${CC} $(64FLAGS)" CXX="$${CXX} $(64FLAGS)" \ 30 30 ./configure --prefix=$(WD) --build=$(CLFS_HOST) \ 31 --host=$( LFS_TARGET) --without-bash-malloc \31 --host=$(CLFS_TARGET) --without-bash-malloc \ 32 32 --cache-file=config.cache 33 33 make -
branches/cross/packages/findutils/Makefile
r1604 r1607 20 20 echo "am_cv_func_working_getline=yes" >> config.cache 21 21 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 22 --build=$(CLFS_HOST) --host=$( LFS_TARGET) --cache-file=config.cache22 --build=$(CLFS_HOST) --host=$(CLFS_TARGET) --cache-file=config.cache 23 23 make $(PM) 24 24 make install -
branches/cross/packages/gawk/Makefile
r1605 r1607 23 23 compile-stage1: 24 24 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 25 --build=$( LFS_HOST) --host=$(LFS_TARGET)25 --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 26 26 make $(PM) 27 27 make install -
branches/cross/packages/gettext/Makefile
r1498 r1607 18 18 19 19 compile-stage1: 20 ifndef CROSS21 cd $(NM)-tools ; ./configure --prefix=$(WD) --disable-shared22 else23 20 cd $(NM)-tools ; echo "am_cv_func_working_getline=yes" >> config.cache 24 21 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 28 24 cd $(NM)-tools ; make -C lib 29 25 cd $(NM)-tools ; make -C src msgfmt … … 38 34 39 35 compile-stage2: 40 ifndef CROSS41 36 ./configure --prefix=/usr 42 else43 ifeq ($(LFS-ARCH),x86_64)44 sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]45 endif46 CC="gcc $(64FLAGS)" CXX="g++ $(64FLAGS)" \47 ./configure --prefix=/usr --libdir=/usr/lib6448 endif49 37 make 50 38 make install -
branches/cross/packages/grep/Makefile
r1350 r1607 1 1 # Grep Makefile 2 3 # Do not update this package before RedHat! Some of the fixes are scheduled4 # for grep-2.5.3, not 2.5.25 2 6 3 NM= grep … … 12 9 SHA-$(FILE)= 2cd082775d30be463c0ac674a00595eb56fda22e 13 10 14 PATCH50= $(DIR)-redhat_fixes-2.patch15 URL-$(PATCH50)= $(HTTP)/$(NM)/$(PATCH50)16 SHA-$(PATCH50)= 6f7f1623d1909f07dc08a8a16a24cbce6be8dfc517 18 11 # Targets 19 12 … … 21 14 22 15 stage1: $(FILE) 23 $(std_build) # See the scripts/functions file for functions like this16 $(std_build) 24 17 cp $(SRC)/$(FILE) $(LFSSRC) 25 18 26 19 compile-stage1: 27 ifndef CROSS28 ./configure --prefix=$(WD) --disable-perl-regexp29 else30 20 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 33 22 make $(PM) 34 23 make install … … 38 27 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 39 28 40 stage2: Makefile $(FILE) $(PATCH50)29 stage2: Makefile $(FILE) 41 30 $(std_build) 42 cp $(SRC)/$(PATCH50) $(LFSSRC)43 31 44 32 compile-stage2: 45 patch -Np1 -i ../$(PATCH50)46 ifndef CROSS47 33 ./configure --prefix=/usr --bindir=/bin 48 else49 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \50 --bindir=/bin51 endif52 34 make $(PM) 53 35 make install -
branches/cross/packages/gzip/Makefile
r1499 r1607 22 22 23 23 compile-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) 32 28 make $(PM) 33 29 make install … … 43 39 compile-stage2: 44 40 patch -Np1 -i ../$(PATCH1) 45 ifndef CROSS46 41 ./configure --prefix=/usr 47 else48 CC="gcc $(64FLAGS)" ./configure --prefix=/usr49 endif50 42 sed -i 's@"BINDIR"@/bin@g' gzexe.in 51 43 make $(PM) … … 53 45 mv -v /usr/bin/gzip /bin 54 46 rm -v /usr/bin/{gunzip,zcat} 55 ln -s fv gzip /bin/gunzip56 ln -s fv gzip /bin/zcat57 ln -s fv gzip /bin/compress58 ln -s fv gunzip /bin/uncompress47 ln -sv gzip /bin/gunzip 48 ln -sv gzip /bin/zcat 49 ln -sv gzip /bin/compress 50 ln -sv gunzip /bin/uncompress 59 51 60 52 clean: -
branches/cross/packages/make/Makefile
r956 r1607 2 2 3 3 NM= make 4 VRS= 3.8 04 VRS= 3.81 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 9 SHA-$(FILE)= d2085842f08e57d58d3e1cd75a5f0342a60e5f459 SHA-$(FILE)= 41ed86d941b9c8025aee45db56c0283169dcab3d 10 10 11 11 # Targets … … 18 18 19 19 compile-stage1: 20 ifndef CROSS21 ./configure --prefix=$(WD)22 else23 20 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 24 --host=$(LFS_TARGET) 25 endif 21 --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 26 22 make $(PM) 27 23 make install … … 35 31 36 32 compile-stage2: 37 ifndef CROSS38 33 ./configure --prefix=/usr 39 else40 CC="gcc $(64FLAGS)" ./configure --prefix=/usr41 endif42 34 make $(PM) 43 35 make install -
branches/cross/packages/patch/Makefile
r1499 r1607 2 2 3 3 NM= patch 4 VRS= 2.5. 44 VRS= 2.5.9 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.gz 8 8 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 9 SHA-$(FILE)= a12d520eba0dc35d1c4d50ec75b7684451a40de99 SHA-$(FILE)= 9a69f7191576549255f046487da420989d2834a6 10 10 11 11 # Targets … … 18 18 19 19 compile-stage1: 20 ifndef CROSS21 # CPPFLAGS=-D_GNU_SOURCE is for ppc22 CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=$(WD)23 else24 20 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 25 --host=$(LFS_TARGET) 26 endif 21 --build-$(CLFS_HOST) --host=$(CLFS_TARGET) 27 22 make $(PM) 28 23 make install … … 36 31 37 32 compile-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 43 34 make $(PM) 44 35 make install -
branches/cross/packages/sed/Makefile
r1605 r1607 19 19 compile-stage1: 20 20 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) \ 21 --build=$( LFS_HOST) --host=$(LFS_TARGET)21 --build=$(CLFS_HOST) --host=$(CLFS_TARGET) 22 22 make $(PM) 23 23 make install -
branches/cross/packages/tar/Makefile
r1488 r1607 25 25 include $(ROOT)/scripts/functions 26 26 27 stage1: $(FILE) $(PATCH1)27 stage1: $(FILE) 28 28 $(std_build) 29 cp $(SRC)/ {$(FILE),$(PATCH1)}$(LFSSRC)/29 cp $(SRC)/$(FILE) $(LFSSRC)/ 30 30 31 31 compile-stage1: 32 ifndef CROSS33 patch -Np1 -i ../$(PATCH1)34 ./configure --prefix=$(WD)35 else36 32 echo "am_cv_func_working_getline=yes" >> config.cache 37 33 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 40 35 make $(PM) 41 36 make install … … 47 42 stage2: Makefile $(FILE) $(PATCH1) $(PATCH2) $(PATCH3) 48 43 $(std_build) 49 cp $(SRC)/{$(PATCH 2),$(PATCH3)} $(LFSSRC)44 cp $(SRC)/{$(PATCH1),$(PATCH2),$(PATCH3)} $(LFSSRC) 50 45 51 46 compile-stage2: … … 53 48 patch -Np1 -i ../$(PATCH2) 54 49 patch -Np1 -i ../$(PATCH3) 55 ifndef CROSS56 50 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin 57 else58 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \59 --bindir=/bin --libexecdir=/usr/sbin60 endif61 51 make $(PM) 62 52 make install -
branches/cross/packages/texinfo/Makefile
r1605 r1607 24 24 compile-stage1: 25 25 CC="$${CC} $(64FLAGS)" ./configure --prefix=$(WD) --build=$(CLFS_HOST) \ 26 --host=$( LFS_TARGET)26 --host=$(CLFS_TARGET) 27 27 make $(PM) 28 28 make install -
branches/cross/packages/util-linux/Makefile
r1488 r1607 13 13 SHA-$(PATCH1)= 00f5192493b939c2c996df9c1f3f769abfa3fa8c 14 14 15 PATCH 31= $(DIR)-gcc4_fixes-1.patch16 URL-$(PATCH 31)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH31)17 SHA-$(PATCH 31)= 638972c2f2b09cf20aac60ede91e803a96cea4d915 PATCH2= $(DIR)-gcc4_fixes-1.patch 16 URL-$(PATCH2)= $(HTTP)/$(NM)/$(PATCH2) 17 SHA-$(PATCH2)= 638972c2f2b09cf20aac60ede91e803a96cea4d9 18 18 19 STAGE1_DEPS = $(FILE) 20 STAGE2_DEPS = $(FILE) $(PATCH1) 21 22 ifdef CROSS 23 STAGE1_DEPS+= $(PATCH31) 24 STAGE2_DEPS+= $(PATCH31) 25 endif 19 PATCH3= $(DIR)-missing_header-1.patch 20 URL-$(PATCH3)= $(HTTP)/$(NM)/$(PATCH3) 21 SHA-$(PATCH3)= 63e2ff9cd87d986d4169202646b21044f2171c23 26 22 27 23 # Targets … … 29 25 include $(ROOT)/scripts/functions 30 26 31 stage1: $( STAGE1_DEPS)27 stage1: $(FILE) $(PATCH2) 32 28 $(std_build) 33 for i in $(STAGE1_DEPS) ; do cp $(SRC)/$$i $(LFSSRC) ; done29 cp $(SRC)/{$(FILE),$(PATCH2)} $(LFSSRC) 34 30 35 31 compile-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} 45 34 sed -e 's@/usr/include@$(WD)/include@g' configure.orig > configure 46 35 CC="$${CC} $(64FLAGS)" ./configure … … 48 37 make ARCH="" CPU="" -C mount mount umount 49 38 make ARCH="" CPU="" -C text-utils more 50 endif51 39 cp mount/{,u}mount text-utils/more $(WD)/bin 52 40 … … 55 43 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 56 44 57 stage2: Makefile $( STAGE2_DEPS)45 stage2: Makefile $(FILE) $(PATCH1) $(PATCH3) 58 46 $(std_build) 59 cp $(SRC)/ $(PATCH1)$(LFSSRC)/47 cp $(SRC)/{$(PATCH1),$(PATCH3)} $(LFSSRC)/ 60 48 61 49 compile-stage2: 62 50 sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c 63 mkdir -p /var/lib/hwclock51 mkdir -pv /var/lib/hwclock 64 52 patch -Np1 -i ../$(PATCH1) 65 ifndef CROSS 53 patch -Np1 -i ../$(PATCH2) 54 patch -Np1 -i ../$(PATCH3) 66 55 ./configure 67 else68 patch -Np1 -i ../$(PATCH31)69 CC="gcc $(64FLAGS)" ./configure70 endif71 56 make $(PM) HAVE_KILL=yes HAVE_SLN=yes 72 57 make HAVE_KILL=yes HAVE_SLN=yes install 58 mv -v /usr/bin/logger /bin 73 59 74 60 clean: -
branches/cross/packages/wget/Makefile
r1599 r1607 31 31 compile-stage1: 32 32 ./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) 34 35 make $(PM) 35 36 make install
