aboutsummaryrefslogtreecommitdiffstats
path: root/www/resin3
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-04-03 23:07:49 +0800
committervd <vd@FreeBSD.org>2006-04-03 23:07:49 +0800
commitf90b164d12a403ea176d741ba02780672eb1d667 (patch)
tree84bccfb4a1ec5b6f9b5d1a2200cad33c6bf33c16 /www/resin3
parent071536ae274447ef5e06e7698877ee340d3a113b (diff)
downloadfreebsd-ports-gnome-f90b164d12a403ea176d741ba02780672eb1d667.tar.gz
freebsd-ports-gnome-f90b164d12a403ea176d741ba02780672eb1d667.tar.zst
freebsd-ports-gnome-f90b164d12a403ea176d741ba02780672eb1d667.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/resin3')
-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
+ ;;
+