Changeset 1609
- Timestamp:
- 07/12/06 03:12:34 (2 years ago)
- Location:
- branches/cross
- Files:
-
- 2 added
- 1 removed
- 14 modified
-
Makefile (modified) (1 diff)
-
packages/curl/Makefile (modified) (1 diff)
-
packages/e2fsprogs/Makefile (modified) (2 diffs)
-
packages/flex/Makefile (modified) (1 diff)
-
packages/groff/Makefile (modified) (2 diffs)
-
packages/inetutils/Makefile (modified) (1 diff)
-
packages/kbd/Makefile (modified) (2 diffs)
-
packages/less/Makefile (modified) (1 diff)
-
packages/libtool/Makefile (modified) (1 diff)
-
packages/man (added)
-
packages/man-db (deleted)
-
packages/man-pages/Makefile (modified) (1 diff)
-
packages/man/Makefile (added)
-
packages/mktemp/Makefile (modified) (1 diff)
-
packages/psmisc/Makefile (modified) (1 diff)
-
packages/sysklogd/Makefile (modified) (2 diffs)
-
packages/sysvinit/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cross/Makefile
r1608 r1609 371 371 adjusting-toolchain: 372 372 gcc -dumpspecs | \ 373 perl -pi -e 's@/tools/lib/ld@/lib/ld@g;' \ 374 -e 's@/tools/lib64/ld@/lib64/ld@g;' \ 373 perl -p -e 's@/tools/lib/ld@/lib/ld@g;' \ 375 374 -e 's@\*startfile_prefix_spec:\n@$$_/usr/lib/ @g;' > \ 376 375 `dirname $$(gcc --print-libgcc-file-name)`/specs -
branches/cross/packages/curl/Makefile
r1471 r1609 21 21 22 22 compile-stage2: 23 ./configure --prefix=/usr --libdir=/usr/$(LIB_MAYBE64)23 ./configure --prefix=/usr 24 24 make $(PM) 25 25 make install 26 26 find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm 27 27 install -v -d -m755 /usr/share/doc/$(DIR) 28 cp - R docs/* /usr/share/doc/$(DIR)28 cp -v -R docs/* /usr/share/doc/$(DIR) 29 29 30 30 clean: -
branches/cross/packages/e2fsprogs/Makefile
r1498 r1609 2 2 3 3 NM= e2fsprogs 4 VRS= 1.3 84 VRS= 1.39 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.gz 8 8 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 9 SHA-$(FILE)= aa8915fe43bc7cf5fba633df7041009ce99815519 SHA-$(FILE)= c2dad0c9bd76701eafe3804e2a7d072aa198f046 10 10 11 11 # Targets … … 23 23 compile-stage2: 24 24 mkdir build 25 ifndef CROSS26 25 cd build ; ../configure --prefix=/usr --with-root-prefix="" \ 27 26 --enable-elf-shlibs --disable-evms 28 27 cd build ; make 29 else30 sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' configure31 cd build ; CC="gcc $(64FLAGS)" ../configure --prefix=/usr \32 --with-root-prefix="" --enable-elf-shlibs --disable-evms33 cd build ; make CC="gcc $(64FLAGS)"34 endif35 28 cd build ; make install 36 29 cd build ; make install-libs -
branches/cross/packages/flex/Makefile
r1488 r1609 22 22 23 23 compile-stage2: 24 ifndef CROSS25 24 ./configure --prefix=/usr 26 else27 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \28 --libdir=/usr/lib6429 endif30 25 make $(PM) 31 26 make install 32 ln -s fv libfl.a /usr/$(LIB_MAYBE64)/libl.a27 ln -sv libfl.a /usr/lib/libl.a 33 28 echo "#!/bin/sh" > /usr/bin/lex 34 29 echo "# Begin /usr/bin/lex" >> /usr/bin/lex -
branches/cross/packages/groff/Makefile
r1499 r1609 1 1 # Groff Makefile 2 2 3 # ascii8 and nippon devices exist only for groff-1.18.1.1 as a patch4 # rejected upstream.5 # Do not upgrade this package before Debian does it!6 # http://bugs.debian.org/1967627 8 3 NM= groff 9 VRS= 1.1 8.1.14 VRS= 1.19.2 10 5 DIR= $(NM)-$(VRS) 11 6 12 7 FILE= $(DIR).tar.gz 13 8 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 14 SHA-$(FILE)= 19c8c83e6ee29dd6041dae0daf1c1d0debd3d32a 15 16 PATCH= $(DIR)-debian_fixes-1.patch 17 URL-$(PATCH)= $(HTTP)/$(NM)/$(PATCH) 18 SHA-$(PATCH)= 39fb82b9673523cb2451a0491929693226ea97dd 9 SHA-$(FILE)= cfad99a5c52933a6a9180e394bd94fbaec0ac956 19 10 20 11 # Targets … … 26 17 'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)' 27 18 28 stage2: Makefile $(FILE) $(PATCH)19 stage2: Makefile $(FILE) 29 20 $(std_build) 30 cp $(SRC)/ {$(FILE),$(PATCH)}$(LFSSRC)21 cp $(SRC)/$(FILE) $(LFSSRC) 31 22 32 23 compile-stage2: 33 patch -Np1 -i ../$(PATCH) 34 sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ 35 -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto 36 ifndef CROSS 37 PAGE=$(pagesize) ./configure --prefix=/usr --enable-multibyte 38 else 39 PAGE=$(pagesize) CC="gcc $(64FLAGS)" CXX="g++ $(64FLAGS)" \ 40 ./configure --prefix=/usr --libdir=/usr/$(LIB_MAYBE64) --enable-multibyte 41 endif 24 PAGE=$(pagesize) ./configure --prefix=/usr 42 25 make 43 26 make install 44 ln -sf eqn /usr/bin/geqn 45 ln -sf tbl /usr/bin/gtbl 27 ln -sv soelim /usr/bin/zsoelim 28 ln -sv eqn /usr/bin/geqn 29 ln -sv tbl /usr/bin/gtbl 46 30 47 31 clean: -
branches/cross/packages/inetutils/Makefile
r1499 r1609 32 32 patch -Np1 -i ../$(PATCH2) 33 33 patch -Np1 -i ../$(PATCH1) 34 ifndef CROSS35 34 ./configure --prefix=/usr --libexecdir=/usr/sbin \ 36 35 --sysconfdir=/etc --localstatedir=/var \ 37 36 --disable-logger --disable-syslogd \ 38 37 --disable-whois --disable-servers 39 else40 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \41 --libexecdir=/usr/sbin --sysconfdir=/etc --localstatedir=/var \42 --disable-logger --disable-syslogd --disable-whois \43 --disable-servers44 endif45 38 make $(PM) 46 39 make install -
branches/cross/packages/kbd/Makefile
r1502 r1609 9 9 SHA-$(FILE)= 65eaae4d98fca3f7ae7dfc9d9cb7c5a432c6475f 10 10 11 BELARUSIAN_FILE= belarusian-0.3.tar.gz12 URL-$(BELARUSIAN_FILE)= http://www.mova.org/bellinux/$(BELARUSIAN_FILE)13 SHA-$(BELARUSIAN_FILE)= c0026a915fff58cdc3b68bb57de4eec35a220c4314 15 THAI_FILE= thai-console-data_cvs20051001.tar.bz216 URL-$(THAI_FILE)= http://www.linuxfromscratch.org/~alexander/$(THAI_FILE)17 SHA-$(THAI_FILE)= 2d5e8f4d6cf488987600d455078fe8f5d419921718 19 11 PATCH1= $(DIR)-backspace-1.patch 20 12 URL-$(PATCH1)= $(HTTP)/$(NM)/$(PATCH1) 21 13 SHA-$(PATCH1)= 39e332e42d5145dfc47786dba5eff63cda91d0ba 22 14 23 PATCH 30= $(DIR)-sparc_kbdrate-1.patch24 URL-$(PATCH 30)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH30)25 SHA-$(PATCH 30)= 3fe2f0e6a311b8a580f09472dae1b1abbbb7ad2115 PATCH2= $(DIR)-sparc_kbdrate-1.patch 16 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH2) 17 SHA-$(PATCH2)= 3fe2f0e6a311b8a580f09472dae1b1abbbb7ad21 26 18 27 19 PATCH3= $(DIR)-gcc4_fixes-1.patch 28 20 URL-$(PATCH3)= $(HTTP)/$(NM)/$(PATCH3) 29 21 SHA-$(PATCH3)= 93ec9885a79ff79088f1533ec52f1a87dae69500 30 31 STAGE2-DEPS = $(FILE) $(BELARUSIAN_FILE) $(THAI_FILE) $(PATCH1) $(PATCH3)32 ifeq ($(LFS-ARCH),sparc64)33 STAGE2-DEPS += $(PATCH30)34 endif35 36 22 37 23 # Targets … … 43 29 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 44 30 45 stage2: Makefile $( STAGE2-DEPS)31 stage2: Makefile $(FILE) $(PATCH1) $(PATCH2) $(PATCH3) 46 32 $(std_build) 47 cp $(SRC)/{$(FILE),$(PATCH 1),$(PATCH3)} $(LFSSRC)33 cp $(SRC)/{$(FILE),$(PATCH2),$(PATCH3)} $(LFSSRC) 48 34 49 35 compile-stage2: 50 cd .. ; unpack $(BELARUSIAN_FILE) ; unpack $(THAI_FILE)51 zcat ../bellinux/console/keymaps/by2_win.kmap.gz > data/keymaps/i386/qwerty/by2_win.map52 sed -i -e 's/\(50 = 0x.\)A/\1C/' data/keymaps/i386/qwerty/by2_win.map53 36 patch -Np1 -i ../$(PATCH1) 54 37 patch -Np1 -i ../$(PATCH3) 55 38 ifeq ($(LFS-ARCH),sparc64) 56 patch -Np1 -i ../$(PATCH 30)39 patch -Np1 -i ../$(PATCH2) 57 40 endif 58 ifndef CROSS 59 ./configure 41 ./configure --datadir=/lib/kbd 60 42 make $(PM) 61 else62 CC="gcc $(64FLAGS)" ./configure63 make $(PM) CC="gcc $(64FLAGS)"64 endif65 43 make install 66 # Turkish fixup 67 cp /usr/share/kbd/consoletrans/cp857_to_uni.trans /usr/share/kbd/unimaps/cp857.uni 68 # Thai fonts and keymaps 69 gzip ../thai-console-data/consolefonts/*.psf 70 install -m644 ../thai-console-data/consolefonts/*.psf.gz /usr/share/kbd/consolefonts 71 install -m644 ../thai-console-data/consoletrans/tis620.acm /usr/share/kbd/consoletrans/tis620_to_uni.trans 72 for a in ../thai-console-data/keymaps/*.kmap \ 73 ../thai-console-data/keymaps/experimental/*.kmap ; do \ 74 mv $${a} $${a%kmap}map ; done 75 sed -i 's,\+U,U,g' ../thai-console-data/keymaps/experimental/*.map 76 gzip ../thai-console-data/keymaps/*.map ../thai-console-data/keymaps/experimental/*.map 77 install -m644 ../thai-console-data/keymaps/*.map.gz ../thai-console-data/keymaps/experimental/*uni*.map.gz /usr/share/kbd/keymaps/i386/qwerty 44 mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin 78 45 79 46 clean: 80 47 -rm -rf $(DIR) 81 -rm -rf bellinux82 -rm -rf thai-console-data83 48 84 49 .PHONY: clean chroot compile-stage2 -
branches/cross/packages/less/Makefile
r1499 r1609 22 22 23 23 compile-stage2: 24 ifndef CROSS25 24 ./configure --prefix=/usr --sysconfdir=/etc 26 else27 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \28 --sysconfdir=/etc29 endif30 25 make $(PM) 31 26 make install 32 ifdef CROSS33 27 mv /usr/bin/less /bin 34 endif35 28 36 29 clean: -
branches/cross/packages/libtool/Makefile
r1499 r1609 22 22 23 23 compile-stage2: 24 ifndef CROSS25 24 ./configure --prefix=/usr 26 else27 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \28 --libdir=/usr/lib6429 endif30 25 make $(PM) 31 26 make install -
branches/cross/packages/man-pages/Makefile
r1372 r1609 2 2 3 3 NM= man-pages 4 VRS= 2. 214 VRS= 2.33 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE) 9 SHA-$(FILE)= 36e50c9058d30244afa70e6622baea32ded258a29 SHA-$(FILE)= dcbcaabdd8d0508b8ca6a766040e35a828680c75 10 10 11 11 # Targets -
branches/cross/packages/mktemp/Makefile
r1499 r1609 27 27 compile-stage2: 28 28 patch -Np1 -i ../$(PATCH1) 29 ifndef CROSS30 29 ./configure --prefix=/usr --with-libc 31 else32 CC="gcc $(64FLAGS)" ./configure --prefix=/usr --with-libc33 endif34 30 make $(PM) 35 31 make install -
branches/cross/packages/psmisc/Makefile
r1488 r1609 22 22 23 23 compile-stage2: 24 ifndef CROSS25 24 ./configure --prefix=/usr --exec-prefix="" 26 else27 CC="gcc $(64FLAGS)" ./configure --prefix=/usr \28 --exec-prefix=""29 endif30 25 make $(PM) 31 26 make install -
branches/cross/packages/sysklogd/Makefile
r1499 r1609 13 13 SHA-$(PATCH1)= 4fbd5e56c212c8e37f363eb48ba86a5ecea21f4a 14 14 15 PATCH50= $(DIR)-8bit-1.patch16 URL-$(PATCH50)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH50)17 SHA-$(PATCH50)= edc01eceb4ae7af3d6a02e23a4dace8fee50f3eb18 19 15 # Targets 20 16 … … 25 21 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 26 22 27 stage2: Makefile $(FILE) $(PATCH1) $(PATCH50)23 stage2: Makefile $(FILE) $(PATCH1) 28 24 $(std_build) 29 cp $(SRC)/{$(FILE),$(PATCH1) ,$(PATCH50)} $(LFSSRC)25 cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC) 30 26 31 27 compile-stage2: 32 28 patch -Np1 -i ../$(PATCH1) 33 patch -Np1 -i ../$(PATCH50)34 ifndef CROSS35 29 make $(PM) 36 else37 make $(PM) CC="gcc $(64FLAGS)"38 endif39 30 make install 40 31 cp -ra $(ROOT)/etc/syslog.conf /etc -
branches/cross/packages/sysvinit/Makefile
r1499 r1609 9 9 SHA-$(FILE)= 3e78df609a2ff0fea6304cb662a7f10298d03667 10 10 11 PATCH1= $(DIR)-reexec06-1.patch12 URL-$(PATCH1)= $(HTTP)/$(NM)/$(PATCH1)13 SHA-$(PATCH1)= d06fd7274e767c1c98be27d1dc4adb135260e47914 15 11 # Targets 16 12 … … 21 17 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 22 18 23 stage2: Makefile $(FILE) $(PATCH1)19 stage2: Makefile $(FILE) 24 20 $(std_build) 25 21 cp $(SRC)/$(FILE) $(LFSSRC) 26 22 27 23 compile-stage2: 28 patch -Np1 -i ../$(PATCH1)29 24 sed -i 's@Sending processes@& started by init@g' src/init.c 30 ifndef CROSS 31 ROOT="" make $(PM) -C src 32 else 33 ROOT="" make -C src clobber 34 ROOT="" make $(PM) -C src CC="gcc $(64FLAGS)" 35 endif 36 ROOT="" make -C src install 25 make $(PM) -C src clobber 26 make $(PM) -C src 27 make -C src install 37 28 cp $(ROOT)/etc/inittab /etc 38 29
