|
|
| version 1.8, 2013/08/26 19:37:20 | version 1.18, 2017/05/19 21:17:51 |
|---|---|
| Line 55 if test "$build_xml" = "yes"; then | Line 55 if test "$build_xml" = "yes"; then |
| fi | fi |
| bits=`getconf LONG_BIT` | bits=`getconf LONG_BIT` |
| if test "$bits" = "64" -a "$build_apache" = "yes"; then | if test "$bits" = "64" -o "$build_apache" = "yes"; then |
| cflags="$cflags --with-pic" | cflags="$cflags --with-pic" |
| else | else |
| cflags="$cflags --without-pic" | cflags="$cflags --without-pic" |
| Line 78 prepare_gz () { | Line 78 prepare_gz () { |
| cd $project_dir/src | cd $project_dir/src |
| if test ! -f "$1"; then | if test ! -f "$1"; then |
| echo "Downloading $lib..." | echo "Downloading $lib (master at $2)..." |
| $download $2$1 | $download https://www.parser.ru/off-line/download/libs/$1 |
| fi | fi |
| echo "Unpacking $lib..." | echo "Unpacking $lib..." |
| Line 92 prepare_xz () { | Line 92 prepare_xz () { |
| cd $project_dir/src | cd $project_dir/src |
| if test ! -f "$1"; then | if test ! -f "$1"; then |
| echo "Downloading $lib..." | echo "Downloading $lib (master at $2)..." |
| $download $2$1 | $download http://www.parser.ru/off-line/download/libs/$1 |
| fi | fi |
| echo "Unpacking $lib..." | echo "Unpacking $lib..." |
| Line 115 mkdir src >/dev/null 2>&1 | Line 115 mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_dir/gc/lib/libgc.a"; then | if test ! -f "$project_dir/gc/lib/libgc.a"; then |
| # libgc="gc6.8" # FreeBSD 4.X is not supported in newer gc version | # libgc="gc6.8" # FreeBSD 4.X is not supported in newer gc version |
| lib="gc-7.2" | lib="gc-7.2" |
| prepare_gz ${lib}d.tar.gz http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ | prepare_gz ${lib}f.tar.gz http://www.hboehm.info/gc/gc_source/ |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ | CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ |
| ./configure --prefix=$project_dir/gc \ | ./configure --prefix=$project_dir/gc \ |
| Line 128 if test ! -f "$project_dir/gc/lib/libgc. | Line 128 if test ! -f "$project_dir/gc/lib/libgc. |
| fi | fi |
| if test ! -f "$project_dir/pcre/lib/libpcre.a"; then | if test ! -f "$project_dir/pcre/lib/libpcre.a"; then |
| lib="pcre-8.30" | lib="pcre-8.40" |
| prepare_gz $lib.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ | prepare_gz $lib.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| ./configure --prefix="$project_dir/pcre" \ | ./configure --prefix="$project_dir/pcre" \ |
| Line 146 if test ! -f "$project_dir/pcre/lib/libp | Line 146 if test ! -f "$project_dir/pcre/lib/libp |
| fi | fi |
| if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxml2.a"; then | if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxml2.a"; then |
| lib="libxml2-2.8.0" | lib="libxml2-2.9.4" |
| prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxml2/ | prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxml2/ |
| #sax1, output, tree, xinclude[in libxslt], html[in libxslt, mode=html?], xptr[xinclude], pattern -- needed! | #sax1, output, tree, xinclude[in libxslt], html[in libxslt, mode=html?], xptr[xinclude], pattern -- needed! |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| Line 159 if test "$build_xml" = "yes" -a ! -f "$p | Line 159 if test "$build_xml" = "yes" -a ! -f "$p |
| --without-legacy \ | --without-legacy \ |
| --without-push \ | --without-push \ |
| --without-python \ | --without-python \ |
| --without-reader \ | |
| --without-writer \ | --without-writer \ |
| --without-readline \ | --without-readline \ |
| --without-regexps \ | --without-regexps \ |
| Line 179 if test "$build_xml" = "yes" -a ! -f "$p | Line 178 if test "$build_xml" = "yes" -a ! -f "$p |
| fi | fi |
| if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxslt.a"; then | if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxslt.a"; then |
| lib="libxslt-1.1.26" | lib="libxslt-1.1.29" |
| prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxslt/ | prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxslt/ |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| CFLAGS="-D__stub_clock_gettime -Dclock_gettime=choke_me" \ | |
| ./configure --prefix=$project_dir/gnome \ | ./configure --prefix=$project_dir/gnome \ |
| --with-libxml-prefix=$project_dir/gnome \ | --with-libxml-prefix=$project_dir/gnome \ |
| --without-debug \ | --without-debug \ |