Opened 4 years ago
#62588 assigned defect
py27-ldas-tools-al: wrong frameworks dir
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | emaros |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | ldas-tools-al |
Description
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.
Note: See
TracTickets for help on using
tickets.