[MacPorts] #37048: weechat: python variants

MacPorts noreply at macports.org
Fri Jun 12 14:34:07 PDT 2015


#37048: weechat: python variants
---------------------------+-------------------------
  Reporter:  ryandesign@…  |      Owner:  starkhalo@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:  weechat       |
---------------------------+-------------------------

Comment (by starkhalo@…):

 This appears to do the trick

 {{{
 diff --git a/ongoing b/Portfile
 index 7336489..50095ef 100644
 --- a/Portfile.orig
 +++ b/Portfile
 @@ -95,7 +95,7 @@ foreach s ${pythons_suffixes} {

  # TODO: Ideally this should go inside its corresponding python variant.
  post-configure {
 -    set patchfile
 ${worksrcpath}/src/plugins/python/CMakeFiles/python.dir/link.txt
 +    set patchfile
 ${worksrcpath}/../build/src/plugins/python/CMakeFiles/python.dir/link.txt

      if {[file exists ${patchfile}]} {
          reinplace -E "s| \(Python.framework\)| ${frameworks_dir}/\\1|g"
 ${patchfile}
 }}}

 I'll verify later tonight with the subport and py34/py35

-- 
Ticket URL: <https://trac.macports.org/ticket/37048#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list