[MacPorts] #2649: UPDATE: subversion-1.1.3
MacPorts
noreply at macports.org
Thu Mar 24 07:59:50 PDT 2016
#2649: UPDATE: subversion-1.1.3
--------------------------+---------------------
Reporter: jay@… | Owner: dluke@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: subversion |
--------------------------+---------------------
Changes (by ryandesign@…):
* port: => subversion
Old description:
> This patch adds a java variant which builds and installs the javahl
> bindings. A couple of thoughts: I
> wasn't sure if a separate port was preferred (python bindings are a
> variant, but perl is a separate port).
> Also, this probalby won't work on anything other than OS X b/c of the
> java location. (It's likely not hard
> to create the bsd and linux variants, but I don't have the systems to
> test that.) Also, I wonder about my
> use of a reinplace to change one line, I'm a tcl / portfile newbie. One
> final thing is that I left the jar out
> in /opt/local/lib/svn-javahl; I for one don't take lightly to things
> getting shoved into system dirs unless
> absolutely necessary (which is necessary for the .jnilib file in
> /Libraray/Java/Extensions, unfortunately).
>
> --- /opt/darwinports/dports/devel/subversion/Portfile Sun Jan 30
> 16:15:39 2005
> +++ dports/devel/subversion/Portfile Sun Jan 30 16:16:32 2005
> @@ -34,6 +34,23 @@
> post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
> ${worksrcpath}/libtool
> }
> +
> +variant java darwin {
> + configure.args-append --enable-javahl --without-jikes
> + build.args-append javahl
> + destroot.target-append install-javahl
> + pre-configure {
> + reinplace
> "s|\\(LINK_JAVAHL_CXX.*\\)-rpath|\\1-dynamiclib -rpath|g" \
> + ${worksrcpath}/Makefile.in
> + reinplace
> "s|libsvnjavahl-1.la|libsvnjavahl.jnilib|g" \
> + ${worksrcpath}/build-outputs.mk
> + }
> + post-destroot {
> + file mkdir ${destroot}/Library/Java/Extensions
> + file copy ${destroot}${prefix}/lib/libsvnjavahl.jnilib \
> + ${destroot}/Library/Java/Extensions
> + }
> +}
>
> variant mod_dav_svn { depends_build
> path:${prefix}/apache2/bin/apxs:apache2
> configure.args-append \
New description:
This patch adds a java variant which builds and installs the javahl
bindings. A couple of thoughts: I
wasn't sure if a separate port was preferred (python bindings are a
variant, but perl is a separate port).
Also, this probalby won't work on anything other than OS X b/c of the java
location. (It's likely not hard
to create the bsd and linux variants, but I don't have the systems to test
that.) Also, I wonder about my
use of a reinplace to change one line, I'm a tcl / portfile newbie. One
final thing is that I left the jar out
in /opt/local/lib/svn-javahl; I for one don't take lightly to things
getting shoved into system dirs unless
absolutely necessary (which is necessary for the .jnilib file in
/Libraray/Java/Extensions, unfortunately).
{{{
--- /opt/darwinports/dports/devel/subversion/Portfile Sun Jan 30
16:15:39 2005
+++ dports/devel/subversion/Portfile Sun Jan 30 16:16:32 2005
@@ -34,6 +34,23 @@
post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
${worksrcpath}/libtool
}
+
+variant java darwin {
+ configure.args-append --enable-javahl --without-jikes
+ build.args-append javahl
+ destroot.target-append install-javahl
+ pre-configure {
+ reinplace
"s|\\(LINK_JAVAHL_CXX.*\\)-rpath|\\1-dynamiclib -rpath|g" \
+ ${worksrcpath}/Makefile.in
+ reinplace
"s|libsvnjavahl-1.la|libsvnjavahl.jnilib|g" \
+ ${worksrcpath}/build-outputs.mk
+ }
+ post-destroot {
+ file mkdir ${destroot}/Library/Java/Extensions
+ file copy ${destroot}${prefix}/lib/libsvnjavahl.jnilib \
+ ${destroot}/Library/Java/Extensions
+ }
+}
variant mod_dav_svn { depends_build
path:${prefix}/apache2/bin/apxs:apache2
configure.args-append \
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/2649#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list