Mercurial > hg > aboriginal
comparison sources/native-builds/lfs-bootstrap/mnt/build/zlib.sh @ 1269:7a60afa1846c
More tweaks to bootstrap-skeleton, implement the first half of lfs-bootstrap for Linux From Scratch 6.7 against the new infrastructure, and tweak gentoo build to stay current with bootstrap-skeleton changes. (Now more common infrastructure, and requires package-list file.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 24 Oct 2010 04:17:15 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1268:30bab195be94 | 1269:7a60afa1846c |
---|---|
1 #!/bin/sh | |
2 | |
3 # zlib 1.2.5 accidentally shipped a generated file, which it then tries to | |
4 # overwrite in-place. This doesn't work so well on a read only filesystem. | |
5 | |
6 rm -f Makefile && | |
7 | |
8 # Fix another bug. | |
9 | |
10 sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h && | |
11 | |
12 # Otherwise, standard build | |
13 | |
14 ./configure --prefix=/usr && | |
15 make -j $CPUS || exit 1 | |
16 | |
17 if [ ! -z "$CHECK" ] | |
18 then | |
19 make check || exit 1 | |
20 fi | |
21 | |
22 make install |