Opened 7 years ago

Closed 7 years ago

#54164 closed defect (fixed)

emacs-mac-app includes __PREFIX__/bin in the PATH

Reported by: xuchunyang (Chunyang Xu) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: emacs-mac-app

Description

To reproduce:

~$ PATH=/bin /Applications/MacPorts/EmacsMac.app/Contents/MacOS/Emacs --batch --eval '(message (getenv "PATH"))'
__PREFIX__/bin:/bin

By comparing its Portfile with emacs-app's, I believe the following is missing

post-patch {
    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
}

Version info:

~$ port version
Version: 2.4.1
~$ port installed emacs-mac-app 
The following ports are currently installed:
  emacs-mac-app @6.3_1 (active)

Change History (1)

comment:1 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: set to kurthindenburg
Resolution: fixed
Status: newclosed

In 654d5b4b62f5f161ea27be377eeeb493efd9d51c/macports-ports:

emacs-mac-app: add missing reinplace

closes #54164

Note: See TracTickets for help on using tickets.