summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-04-03 15:07:49 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-04-03 15:07:49 +0000
commit66d4aade75912e023f4f9648ec5760749a30737b (patch)
tree22214324dbae2b49fd86aed8b004bbb9fed6ba73 /www
parent9a5b03f73aad508c956e51f4089fde777706c55e (diff)
downloadfreebsd-ports-66d4aade75912e023f4f9648ec5760749a30737b.zip
* Update from 3.0.17 to 3.0.18
* Fix the issue with the hardcoded -lc_r Add forgotten files/patch-configure
Diffstat (limited to 'www')
-rw-r--r--www/resin3/files/patch-configure37
1 files changed, 37 insertions, 0 deletions
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
+ ;;
+