#15778 closed defect (fixed)
macfuse portfile assumes MacPorts is installed in /opt/local
Reported by: | eris.discord@… | Owned by: | kballard (Lily Ballard) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | macfuse | Cc: | mike@…, gkelly@…, ryandesign (Ryan Carsten Schmidt) |
Port: | macfuse |
Description
Just as the title says, the macfuse port assumes that MacPorts is installed in the default location, /opt/local. I have an unusual setup with MacPorts installed in /Software/MacPorts and other unix-like software packages installed in /Software/*.prefix so I can easily remove them without having to hunt for files. Unfortunately this means MacFUSE goes in the wrong folder and doesn't end up in my path. :)
I would try to fix this myself and submit a patch, but I'm not really sure about the proper use of for instance install_name_tool. I'm kind of afraid to break things with it...
Attachments (2)
Change History (9)
comment:1 Changed 16 years ago by skymoo (Adam Mercer)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-tickets@… to eridius@… |
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Cc: | mike@… added |
---|---|
Port: | macfuse added |
Cc reporter of duplicate #16956.
comment:3 follow-up: 4 Changed 16 years ago by gkelly@…
macfuse.2.patch doesn't work if prefix is "/usr/local". After the build, it is untarred, and then there's a line in the destroot that deletes usr/local, so the subsequent commands fail to operate on the files that were just removed!
comment:4 follow-up: 5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gkelly@… ryandesign@… added |
---|
Replying to gkelly@…:
macfuse.2.patch doesn't work if prefix is "/usr/local". After the build, it is untarred, and then there's a line in the destroot that deletes usr/local, so the subsequent commands fail to operate on the files that were just removed!
It is not supported for ${prefix} to be /usr/local. Use some other prefix for MacPorts.
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
It is not supported for ${prefix} to be /usr/local. Use some other prefix for MacPorts.
I filed #18602 to prevent installation of MacPorts with the prefix /usr/local.
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Since the maintainer hasn't responded to this issue, I committed the patch in r47182, with a slight modification to delete ${destpath}${prefix} before untarring the built software. This should allow it to work if ${prefix} is /usr/local. However, having prefix set to /usr/local is still unsupported and other ports will probably also be broken under such a setup. Don't expect MacPorts to continue to allow using prefix /usr/local.
assign to maintainer