Changes between Initial Version and Version 1 of Ticket #45723


Ignore:
Timestamp:
Nov 1, 2014, 9:08:19 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I think MacPorts base does not contain code that does what you want in this case. If you want the variant selections -corefoundation and -quzrtz to be passed to the tcl and tk ports, you have to specify them on the command line when you install pymol. The require_active_variants portgroup is not part of base and base doesn't know anything about it.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45723 – Description

    initial v1  
    11The pymol package needs to have the syntax...
    22
     3{{{
    34require_active_variants tcl "" corefoundation
    4 
    55require_active_variants tk "" quartz
     6}}}
    67
    78honored in a reasonable manner during the package building/installaton. In particular, starting from a clean installation of MacPorts 2.3.2 on Yosemite, I executed...
    89
     10{{{
    911sudo port -d install pymol
     12}}}
    1013
    1114After the build, this results in an unusable installation of pymol because the require_active_variants fields were not honored at either the tcl/tk package build times or when the pymol package is built. I was forced to manually execute...
    1215
     16{{{
    1317sudo port -d install tcl -corefoundation
    14 
    1518sudo port -d install tk -quartz
     19}}}
    1620
    1721to unbreak pymol afterwards. While I understand it is likely impossible for port to look ahead and know about the require_active_variants requirements of pymol when tcl/tk, I don't understand why they can't be honored at the time pymol is built by forcing the reinstallation of tcl and tk with the appropriate variants as dictated by the require_active_variants settings in the pymol Portfile.