[MacPorts] #66507: Allow customizing applications_dir on a per-port basis

MacPorts noreply at macports.org
Mon Dec 19 15:44:55 UTC 2022


#66507: Allow customizing applications_dir on a per-port basis
--------------------------+--------------------
  Reporter:  esbugz       |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.8.0
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Comment (by ryandesign):

 It's a nice idea, but I don't see how it would be possible in the general
 case. The paths where a port installs its files are baked into the pre-
 compiled archives we distribute. If you change the `prefix` or
 `applications_dir` or certain other variables in macports.conf (which
 applies to all ports), then you are no longer able to receive our pre-
 compiled archives, which is a significant drawback of deviating from our
 defaults. The same would apply to any hypothetical ability to customize it
 on a per-port basis, unless MacPorts were rearchitected. At minimum, it
 would require some ability of MacPorts to move selected items from
 wherever they are in the pre-compiled archive to wherever you wanted them
 to be, however paths to those items might be embedded in other files
 installed by the port, so those references would need to be found and
 updated as well, which may not be possible if the reference is within a
 binary file. References to the items you wanted to move might even be
 contained within other ports; how could we deal with that situation?

-- 
Ticket URL: <https://trac.macports.org/ticket/66507#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list