[40728] trunk/dports/textproc/libxslt/Portfile
nox at macports.org
nox at macports.org
Sun Oct 12 13:04:52 PDT 2008
Revision: 40728
http://trac.macports.org/changeset/40728
Author: nox at macports.org
Date: 2008-10-12 13:04:51 -0700 (Sun, 12 Oct 2008)
Log Message:
-----------
libxslt: Properly set DYLD_LIBRARY_PATH for the test stage.
Modified Paths:
--------------
trunk/dports/textproc/libxslt/Portfile
Modified: trunk/dports/textproc/libxslt/Portfile
===================================================================
--- trunk/dports/textproc/libxslt/Portfile 2008-10-12 19:52:30 UTC (rev 40727)
+++ trunk/dports/textproc/libxslt/Portfile 2008-10-12 20:04:51 UTC (rev 40728)
@@ -64,6 +64,17 @@
test.run yes
test.target check
+pre-test {
+ set path {}
+ fs-traverse -depth f $worksrcpath {
+ if {[file isdirectory $f] && [file tail $f] eq ".libs"} {
+ lappend path $f
+ continue
+ }
+ }
+ test.env DYLD_LIBRARY_PATH=[join $path :]
+}
+
post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
if {![variant_isset doc]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081012/c22eae33/attachment.html
More information about the macports-changes
mailing list