Skip to content

Commit

Permalink
Fix exec of scdaemon from gpg-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Jul 31, 2013
1 parent 55dd548 commit c1a0e4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Formula/gnupg2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def install

ENV['gl_cv_absolute_stdint_h'] = "#{MacOS.sdk_path}/usr/include/stdint.h"

system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-symcryptrun",
"--disable-agent",
"--with-agent-pgm=#{HOMEBREW_PREFIX}/bin/gpg-agent"
"--with-agent-pgm=#{Formula.factory('gpg-agent').opt_prefix}/bin/gpg-agent"
system "make"
system "make check"
system "make install"
Expand Down
3 changes: 2 additions & 1 deletion Formula/gpg-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-agent-only",
"--with-pinentry-pgm=#{HOMEBREW_PREFIX}/bin/pinentry"
"--with-pinentry-pgm=#{Formula.factory('pinentry').opt_prefix}/bin/pinentry",
"--with-scdaemon-pgm=#{Formula.factory('gnupg2').opt_prefix}/libexec/scdaemon"
system "make install"
end
end
Expand Down

0 comments on commit c1a0e4c

Please sign in to comment.