|
|
| version 1.19, 2009/08/07 23:10:54 | version 1.26, 2011/03/29 08:12:55 |
|---|---|
| Line 17 mkdir src >/dev/null 2>&1 | Line 17 mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_directory/gc/lib/libgc.a"; then | if test ! -f "$project_directory/gc/lib/libgc.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| # libgc="gc6.8" # FreeBSD 4.X is not supported in newer gc version | |
| libgc="gc-7.1" | libgc="gc-7.1" |
| if test ! -f "$libgc.tar.gz"; then | if test ! -f "$libgc.tar.gz"; then |
| echo "Downloading libgc [1 lib of 2]..." | echo "Downloading libgc [1 lib of 2]..." |
| Line 42 fi | Line 43 fi |
| if test ! -f "$project_directory/pcre/lib/libpcre.a"; then | if test ! -f "$project_directory/pcre/lib/libpcre.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| libpcre="pcre-7.9" | libpcre="pcre-8.12" |
| if test ! -f "$libpcre.tar.gz"; then | if test ! -f "$libpcre.tar.gz"; then |
| echo "Downloading pcre [2 lib of 2]..." | echo "Downloading pcre [2 lib of 2]..." |
| wget -c ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz | wget -c --passive-ftp ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz |
| fi | fi |
| echo "Unpacking pcre..." | echo "Unpacking pcre..." |
| rm -rf $libpcre | rm -rf $libpcre |
| Line 54 if test ! -f "$project_directory/pcre/li | Line 55 if test ! -f "$project_directory/pcre/li |
| current_dir=`pwd` | current_dir=`pwd` |
| echo "Configuring pcre..." | echo "Configuring pcre..." |
| ./configure --prefix="$project_directory/pcre" \ | ./configure --prefix="$project_directory/pcre" \ |
| --with-match-limit=10000 \ | |
| --with-match-limit-recursion=10000 \ | |
| --enable-utf8 \ | --enable-utf8 \ |
| --enable-unicode-properties \ | --enable-unicode-properties \ |
| --disable-shared \ | --disable-shared \ |
| --disable-cpp \ | --disable-cpp \ |
| --disable-pcregrep-libz \ | --disable-pcregrep-libz \ |
| --disable-pcregrep-libz2 \ | --disable-pcregrep-libbz2 \ |
| --silent | --silent |
| echo "Building pcre..." | echo "Building pcre..." |
| make | make |
| Line 77 if test ! -f "Makefile"; then | Line 80 if test ! -f "Makefile"; then |
| options="" | options="" |
| options="$options --with-static-gc=$project_directory/gc/lib" | options="$options --with-static-gc=$project_directory/gc/lib" |
| options="$options --with-static-pcre=$project_directory/pcre" | options="$options --with-static-pcre=$project_directory/pcre" |
| # options="$options --with-curl=/usr/include/curl" | |
| # options="$options --disable-safe-mode" | # options="$options --disable-safe-mode" |
| # options="$options --with-dynamic-stdcpp" | # options="$options --with-dynamic-stdcpp" |
| # options="$options --disable-stringstream" | # options="$options --disable-stringstream" |