[119191] trunk/dports/science/uhd/Portfile
michaelld at macports.org
michaelld at macports.org
Sat Apr 19 09:39:20 PDT 2014
Revision: 119191
https://trac.macports.org/changeset/119191
Author: michaelld at macports.org
Date: 2014-04-19 09:39:20 -0700 (Sat, 19 Apr 2014)
Log Message:
-----------
uhd*: In post-destroot, use the correct Python to execute the image downloading script, instead of relying on /usr/bin/env to figure it out. Hopefully addresses ticket #43413.
Modified Paths:
--------------
trunk/dports/science/uhd/Portfile
Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile 2014-04-19 16:21:24 UTC (rev 119190)
+++ trunk/dports/science/uhd/Portfile 2014-04-19 16:39:20 UTC (rev 119191)
@@ -91,13 +91,6 @@
build.post_args VERBOSE=1
-# after destroot, have uhd fetch its images into the destroot area,
-# so that they are also tracked by MacPorts
-
-post-destroot {
- system "${destroot}${prefix}/share/uhd/utils/uhd_images_downloader.py --install-location=${destroot}${prefix}/share/uhd/images"
-}
-
# shortcut to installing all variants except Python
variant full description {Deprecated legacy variant} {}
@@ -135,6 +128,14 @@
# specify that Python version to use
configure.args-append \
-DPYTHON_EXECUTABLE=${prefix}/bin/python${v}
+
+ # after destroot, have uhd fetch its images into the
+ # destroot area, so that they are also tracked by MacPorts
+
+ post-destroot {
+ ui_msg "${prefix}/bin/python${v} ${destroot}${prefix}/share/uhd/utils/uhd_images_downloader.py --install-location=${destroot}${prefix}/share/uhd/images"
+ system "${prefix}/bin/python${v} ${destroot}${prefix}/share/uhd/utils/uhd_images_downloader.py --install-location=${destroot}${prefix}/share/uhd/images"
+ }
}
}]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140419/4d103b9d/attachment-0001.html>
More information about the macports-changes
mailing list