[101997] trunk/dports/graphics/graphite2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 23 22:34:52 PST 2013
Revision: 101997
https://trac.macports.org/changeset/101997
Author: ryandesign at macports.org
Date: 2013-01-23 22:34:52 -0800 (Wed, 23 Jan 2013)
Log Message:
-----------
graphite2: fix running tests before installation by setting DYLD_LIBRARY_PATH in test.env
Modified Paths:
--------------
trunk/dports/graphics/graphite2/Portfile
Modified: trunk/dports/graphics/graphite2/Portfile
===================================================================
--- trunk/dports/graphics/graphite2/Portfile 2013-01-24 04:59:19 UTC (rev 101996)
+++ trunk/dports/graphics/graphite2/Portfile 2013-01-24 06:34:52 UTC (rev 101997)
@@ -32,13 +32,14 @@
}
test.run yes
+test.env DYLD_LIBRARY_PATH=${worksrcpath}/src
pre-test {
# https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581750&group_id=66144
set python_installed_version [strsed [exec python --version 2>@1] {g/Python //}]
set python_minimum_version 2.6
if {[vercmp ${python_installed_version} ${python_minimum_version}] < 0} {
- ui_error "Testing ${name} requires Python ${python_minimum_version} or later but your \"python\" is version ${python_installed_version}."
+ ui_error "Testing ${name} requires Python ${python_minimum_version} or later but your “python” is version ${python_installed_version}."
return -code error "incompatible python version"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130123/1d552a7b/attachment.html>
More information about the macports-changes
mailing list