Author: jfrederic.clere(a)jboss.com
Date: 2015-01-15 16:09:55 -0500 (Thu, 15 Jan 2015)
New Revision: 3397
Modified:
trunk/build/unix/build.sh
Log:
Add a backup url for pcre.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2015-01-15 17:14:14 UTC (rev 3396)
+++ trunk/build/unix/build.sh 2015-01-15 21:09:55 UTC (rev 3397)
@@ -1387,6 +1387,7 @@
#ZLIBURLBACK=http://garr.dl.sourceforge.net/project/libpng/zlib/${zlib_version}/zlib-${zlib_version}.tar.gz
ICONVURL=http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${iconv_version}.ta...
PCREURL=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${pcre_version}.tar.gz
+PCREURLBACK=http://sourceforge.net/projects/pcre/files/pcre/${pcre_version}/pcre-${pcre_version}.tar.gz
EXPATURL=http://heanet.dl.sourceforge.net/sourceforge/expat/expat-${expat...
EXPATURLBACK=http://switch.dl.sourceforge.net/sourceforge/expat/expat-${e...
BMXURL=https://github.com/hyperic/mod_bmx/archive/${bmx_version}.tar.gz
@@ -1402,7 +1403,7 @@
checkdownload zlib ${zlib_version} $ZLIBURL $ZLIBURLBACK
fi
if $has_pcre; then
- checkdownload pcre ${pcre_version} $PCREURL "NONE"
+ checkdownload pcre ${pcre_version} $PCREURL $PCREURLBACK
if $BUILD_WIN ; then
$build_top/util/overridecp.sh $build_top/../../srclib/ pcre ${pcre_version}
pcre_chartables.c pcre-${pcre_version}
$build_top/util/overridecp.sh $build_top/../../srclib/ pcre ${pcre_version} pcre.h
pcre-${pcre_version}