[131825] trunk/dports/devel/ncurses/Portfile
mojca at macports.org
mojca at macports.org
Mon Jan 19 07:48:55 PST 2015
Revision: 131825
https://trac.macports.org/changeset/131825
Author: mojca at macports.org
Date: 2015-01-19 07:48:55 -0800 (Mon, 19 Jan 2015)
Log Message:
-----------
ncurses: temporary workaround for an issue on the buildbot for Lion
Modified Paths:
--------------
trunk/dports/devel/ncurses/Portfile
Modified: trunk/dports/devel/ncurses/Portfile
===================================================================
--- trunk/dports/devel/ncurses/Portfile 2015-01-19 15:47:37 UTC (rev 131824)
+++ trunk/dports/devel/ncurses/Portfile 2015-01-19 15:48:55 UTC (rev 131825)
@@ -52,6 +52,21 @@
}
}
+pre-activate {
+ # a temporary workaround for a failure on a buildbot (to be removed immediately after resolution of the problem)
+ # try to remove a non-registered file ${prefix}/bin/captoinfo
+ foreach file {
+ bin/captoinfo
+ } {
+ set filepath ${prefix}/${file}
+ if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} {
+ if {[catch {delete ${filepath}}]} {
+ ui_warn "Cannot delete ${filepath}"
+ }
+ }
+ }
+}
+
post-destroot {
set major [lindex [split $version .] 0]
foreach f {form menu ncurses panel} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150119/303a123a/attachment.html>
More information about the macports-changes
mailing list