From 66d4aade75912e023f4f9648ec5760749a30737b Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Mon, 3 Apr 2006 15:07:49 +0000 Subject: * Update from 3.0.17 to 3.0.18 * Fix the issue with the hardcoded -lc_r Add forgotten files/patch-configure --- www/resin3/files/patch-configure | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 www/resin3/files/patch-configure (limited to 'www') diff --git a/www/resin3/files/patch-configure b/www/resin3/files/patch-configure new file mode 100644 index 000000000000..47c329bec2e0 --- /dev/null +++ b/www/resin3/files/patch-configure @@ -0,0 +1,37 @@ +--- configure.orig Thu Feb 23 00:59:58 2006 ++++ configure Mon Apr 3 10:55:28 2006 +@@ -9026,33 +9026,8 @@ + PROXY_LIBS='-lnsl -lsocket -lthread' + ;; + +- *freebsd*5*) +- PROXY_LIBS='-lpthread' +- jni_os=freebsd +- +- tmp=`ldd $JAVA_HOME/bin/java | sed 's/.*=>//' | grep -c libc_r` +- tmp=$tmp `ldd $JAVA_HOME/bin/java | sed 's/.*=>//' | grep -c libpthread` +- tmp=$tmp `ldd $JAVA_HOME/bin/java | sed 's/.*=>//' | grep -c libthr` +- +- case "$tmp" in +- 100) +- PROXY_LIBS='-lc_r'; +- ;; +- 010) +- PROXY_LIBS='-lpthread'; +- ;; +- 001) +- PROXY_LIBS='-lthr'; +- ;; +- *) +- PROXY_LIBS='-lpthread' +- echo "Using -lpthread as default" +- ;; +- esac +- ;; +- + *freebsd*) +- PROXY_LIBS='-lc_r' ++ PROXY_LIBS="${PTHREAD_LIBS}" + jni_os=freebsd + ;; + -- cgit v1.2.3