<pre style='margin:0'>
Mark Evenson (easye) pushed a commit to branch larryv-subversion-subports
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf4b2464699924df575a6eac575e86e5f61c845f">https://github.com/macports/macports-ports/commit/bf4b2464699924df575a6eac575e86e5f61c845f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bf4b2464699924df575a6eac575e86e5f61c845f
</span>Author: Lawrence Velázquez <larryv@macports.org>
AuthorDate: Wed Aug 21 15:53:41 2013 +0000
<span style='display:block; white-space:pre;color:#404040;'> Explicitly mark end of switch options to protect against funny "subport" values.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> git-svn-id: https://svn.macports.org/repository/macports/branches/larryv-subversion-subports/dports@109899 d073be05-634f-4543-b044-5fe20cf6d1d6
</span>---
devel/subversion/Portfile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/subversion/Portfile b/devel/subversion/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cdbbee2..438105c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/subversion/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/subversion/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@ long_description Subversion (svn) is a version control system \
</span> while fixing many outstanding problems with CVS.
homepage http://subversion.apache.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {
categories-append perl
description Perl ${perl5.major} bindings for the \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +61,7 @@ depends_lib port:apr \
</span> port:serf1 \
port:sqlite3 \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {depends_lib-append port:${name} port:perl${perl5.major}}
default {depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,13 +95,13 @@ configure.args --disable-keychain \
</span> --with-zlib=${prefix} \
--without-apxs \
--without-gnome-keyring
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {configure.args-append PERL=${perl5.bin}}
}
# Build
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {
use_parallel_build no
build.target swig-pl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,7 +111,7 @@ switch -regexp ${subport} {
</span>
# Destroot
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {
destroot {
system -W ${worksrcpath} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,7 +157,7 @@ subport ${name} {
</span>
# Test
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-switch -regexp ${subport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch -regexp -- ${subport} {
</span> perl {test.target check-swig-pl}
default {
test.target check
</pre><pre style='margin:0'>
</pre>