[MacPorts] #42367: pass @1.4.2_1 getopt not found

MacPorts noreply at macports.org
Tue Feb 4 05:38:25 PST 2014


#42367: pass @1.4.2_1 getopt not found
----------------------+--------------------------------
 Reporter:  john@…    |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.2.1
 Keywords:  haspatch  |       Port:  port
----------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/42367>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list