| 37 | |
| 38 | variant java darwin { |
| 39 | configure.args-append --enable-javahl --without-jikes |
| 40 | build.args-append javahl |
| 41 | destroot.target-append install-javahl |
| 42 | pre-configure { |
| 43 | reinplace "s|\\(LINK_JAVAHL_CXX.*\\)-rpath|\\1-dynamiclib -rpath|g" \ |
| 44 | ${worksrcpath}/Makefile.in |
| 45 | reinplace "s|libsvnjavahl-1.la|libsvnjavahl.jnilib|g" \ |
| 46 | ${worksrcpath}/build-outputs.mk |
| 47 | } |
| 48 | post-destroot { |
| 49 | file mkdir ${destroot}/Library/Java/Extensions |
| 50 | file copy ${destroot}${prefix}/lib/libsvnjavahl.jnilib \ |
| 51 | ${destroot}/Library/Java/Extensions |
| 52 | } |
| 53 | } |