#42367 closed defect (fixed)
pass @1.4.2_1 getopt not found
Reported by: | john@… | Owned by: | g5pw (Aljaž Srebrnič) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | haspatch | Cc: | |
Port: | pass |
Description
I see:
$ port installed pass The following ports are currently installed: pass @1.4.2_1 (active) $ pass init /opt/local/bin/pass: line 141: /usr/local/bin/getopt: No such file or directory
This arises because pass
sources /opt/local/lib/password-store.platform.sh
, which contains the line:
GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt"
Since I don't have Homebrew installed, that's defaulting to /usr/local
.
The attached changes things so that pass
depends on the getopt
port, and then sets the correct prefix according to Macports.
Attachments (2)
Change History (6)
Changed 11 years ago by john@…
Attachment: | Portfile.diff added |
---|
Changed 11 years ago by john@…
Attachment: | patch-getopt-path.diff added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | g5pw@… removed |
---|---|
Owner: | changed from macports-tickets@… to g5pw@… |
Port: | pass added; port removed |
comment:2 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 follow-up: 4 Changed 11 years ago by john@…
Thanks. I'd be happy to take over maintenance. What's the procedure? Shall I open another ticket with a Portfile patch replacing your address with mine?
Note: See
TracTickets for help on using
tickets.
Thanks. Commited in r116731. Would you care to maintain the package? I no longer use pass regularly...