Opened 8 years ago
Closed 7 years ago
#53775 closed defect (fixed)
emacs-mac-app @6.1_2: Cannot be installed into /opt/local/Applications/Emacs.app
Reported by: | crapshoot | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | seanfarley (Sean Farley) |
Port: | emacs-mac-app |
Description
emacs-mac-app fails to install Emacs when the application directory is a subdirectory of of the prefix directory, such as /opt/local/Applications.
The post-destroot block in the Portfile copies the necessary files from ${destroot}${prefix}
to ${destroot}${applications_dir}
. On line 65, the Portfile uses delete ${destroot}${prefix}
to remove the remains of the ${destroot}${prefix}
directory tree, but that also removes ${destroot}${application_dir}
when it is a subdirectory of ${destroot}${prefix}
.
The attached file is how I modified the Portfile to check for that condition and to remove everything except ${destroot}${application_dir}
from ${destroot}${prefix}
. You may apply this as a patch or devise a different own solution.
Attachments (1)
Change History (3)
Changed 8 years ago by crapshoot
Attachment: | Portfile.patch added |
---|
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | seanfarley added |
---|
comment:2 Changed 7 years ago by seanfarley (Sean Farley)
Owner: | set to seanfarley |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 4727de8fe890e74a5e3db500ebe7df82d2e5564e/macports-ports: