[MacPorts] #62588: py27-ldas-tools-al: wrong frameworks dir

MacPorts noreply at macports.org
Wed Mar 31 04:12:05 UTC 2021


#62588: py27-ldas-tools-al: wrong frameworks dir
------------------------+---------------------------
 Reporter:  ryandesign  |      Owner:  emaros
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  ldas-tools-al
------------------------+---------------------------
 py27-ldas-tools-al contains this line:

 {{{
           file link -symbolic ${destroot}${prefix}/bin/${script}
 ../Library/Frameworks/Python.framework/Versions/${python.version}/bin/${script}
 }}}

 As you can see, this presumes that the path to the frameworks directory
 can be computed relative to the script in the bin directory. But it
 cannot, because you do not know what frameworks dir the user has
 configured their MacPorts installation to use. Always use the
 ${frameworks_dir} absolute path instead of assuming that it is
 ${prefix}/Library/Frameworks.

-- 
Ticket URL: <https://trac.macports.org/ticket/62588>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list