Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/8003

Submitted by:   blair@orcaware.com
Reviewed by:    me

Update subversion bindings ports with +no_neon and +no_bdb variants (to match corresponding subversion variants)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17190 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
danielluke committed Mar 27, 2006
1 parent e8a2c2e commit 72c2c73a63eb82429be94f501e8529e86079c482
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.10 2006/01/25 15:43:34 dluke Exp $
# $Id: Portfile,v 1.11 2006/03/27 14:43:36 dluke Exp $

PortSystem 1.0
name subversion-javahlbindings
@@ -48,6 +48,16 @@ post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
${worksrcpath}/libtool
}

variant no_bdb { depends_lib-delete port:db4 port:py-bsddb
configure.args-delete --with-berkeley-db=${prefix}/include/db4:${prefix}/lib
configure.args-append --without-berkeley-db
}

variant no_neon { depends_lib-delete port:neon
configure.args-append --without-neon
configure.args-delete --with-neon=${prefix}
}

post-destroot {
file mkdir ${destroot}/Library/Java/Extensions
system "ln -sf ${prefix}/lib/libsvnjavahl-1.dylib ${destroot}/Library/Java/Extensions/libsvnjavahl.jnilib"
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.14 2006/01/25 15:42:07 dluke Exp $
# $Id: Portfile,v 1.15 2006/03/27 14:43:36 dluke Exp $

PortSystem 1.0
name subversion-perlbindings
@@ -49,6 +49,16 @@ post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
${worksrcpath}/libtool
}

variant no_bdb { depends_lib-delete port:db4 port:py-bsddb
configure.args-delete --with-berkeley-db=${prefix}/include/db4:${prefix}/lib
configure.args-append --without-berkeley-db
}

variant no_neon { depends_lib-delete port:neon
configure.args-append --without-neon
configure.args-delete --with-neon=${prefix}
}

post-destroot {
file delete "${destroot}/${prefix}/lib/libsvn_delta-1.0.0.0.dylib"
file delete "${destroot}/${prefix}/lib/libsvn_delta-1.0.dylib"
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.13 2006/01/25 15:42:35 dluke Exp $
# $Id: Portfile,v 1.14 2006/03/27 14:43:36 dluke Exp $

PortSystem 1.0
name subversion-pythonbindings
@@ -46,6 +46,16 @@ post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
${worksrcpath}/libtool
}

variant no_bdb { depends_lib-delete port:db4 port:py-bsddb
configure.args-delete --with-berkeley-db=${prefix}/include/db4:${prefix}/lib
configure.args-append --without-berkeley-db
}

variant no_neon { depends_lib-delete port:neon
configure.args-append --without-neon
configure.args-delete --with-neon=${prefix}
}

post-destroot {
set PYTHON_PATH [exec ${prefix}/bin/python -c "import sys; print (sys.prefix or sys.exec_prefix) + '/lib/python' + sys.version\[0:3\]"]

0 comments on commit 72c2c73

Please sign in to comment.
You can’t perform that action at this time.