www/resin3 with OS_VERSION>=5

Jiawei Ye leafy7382 at gmail.com
Fri Jul 8 04:04:10 GMT 2005


Dear All,

www/resin3 has a configure script that hardcodes threading library to -lc_r

  *freebsd*)
        PROXY_LIBS='-lc_r'
        jni_os=freebsd
        ;;

While this works with 5 and up with a libmap.conf entry, I think this
is not a clean solution. Substituting -lc_r with -pthread does not
work since ld does not understand -pthread. I have hand-edited it to
PROXY_LIBS='-lpthread' and it compiles and runs. Should we change it
something that detects OS_VERSION?

Regards,

Jiawei Ye

-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming


More information about the freebsd-java mailing list