[104067] trunk/dports/devel/subversion-perlbindings/Portfile

dluke at macports.org dluke at macports.org
Thu Mar 14 06:52:34 PDT 2013


Revision: 104067
          https://trac.macports.org/changeset/104067
Author:   dluke at macports.org
Date:     2013-03-14 06:52:34 -0700 (Thu, 14 Mar 2013)
Log Message:
-----------
subversion-perlbindings: add conflicts for the various perl versions (fixes #38360)

Modified Paths:
--------------
    trunk/dports/devel/subversion-perlbindings/Portfile

Modified: trunk/dports/devel/subversion-perlbindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-perlbindings/Portfile	2013-03-14 13:39:46 UTC (rev 104066)
+++ trunk/dports/devel/subversion-perlbindings/Portfile	2013-03-14 13:52:34 UTC (rev 104067)
@@ -20,9 +20,13 @@
 
 set perl5.branches {5.8 5.10 5.12 5.14 5.16}
 foreach branch ${perl5.branches} {
-    subport ${name}-${branch} "
+    set p_idx [lsearch ${perl5.branches} ${branch}]
+    set other_perls [lreplace ${perl5.branches} $p_idx $p_idx]
+
+    subport ${name}-${branch} {
         set perl5.branch $branch
-    "
+	conflicts ${other_perls}
+    }
 }
 
 if {$subport == $name} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130314/23a09226/attachment.html>


More information about the macports-changes mailing list