[109827] branches/larryv-subversion-subports/dports/devel/subversion/ Portfile

larryv at macports.org larryv at macports.org
Tue Aug 20 09:03:02 PDT 2013


Revision: 109827
          https://trac.macports.org/changeset/109827
Author:   larryv at macports.org
Date:     2013-08-20 09:03:01 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
Narrow down DYLD_LIBRARY_PATH directories for test phase.

Modified Paths:
--------------
    branches/larryv-subversion-subports/dports/devel/subversion/Portfile

Modified: branches/larryv-subversion-subports/dports/devel/subversion/Portfile
===================================================================
--- branches/larryv-subversion-subports/dports/devel/subversion/Portfile	2013-08-20 15:21:13 UTC (rev 109826)
+++ branches/larryv-subversion-subports/dports/devel/subversion/Portfile	2013-08-20 16:03:01 UTC (rev 109827)
@@ -170,14 +170,14 @@
         test.target         check
         test.env            CLEANUP=true
         pre-test {
-            set x {}
+            set libs {}
             fs-traverse dir ${worksrcpath}/subversion {
-                if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
-                    lappend x ${dir}
+                if {[llength [glob -nocomplain ${dir}/*.dylib]] > 0} {
+                    lappend libs ${dir}
                     continue
                 }
             }
-            test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
+            test.env-append DYLD_LIBRARY_PATH=[join ${libs} :]
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/80b9126a/attachment-0001.html>


More information about the macports-changes mailing list