diff options
| author | Gerrit Beine | 2014-09-03 22:02:13 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-09-05 23:21:03 -0500 |
| commit | c9b0bb30abbfb2466691b054c1b721b73bb7fa22 (patch) | |
| tree | 14b3d2f189aaa0dc9cd998ae21500525b67af58a /Library | |
| parent | 8e8777b2748e943a91634a78428d71e1e43ac8f5 (diff) | |
| download | homebrew-c9b0bb30abbfb2466691b054c1b721b73bb7fa22.tar.bz2 | |
encfs: help configure find osxfuse
The configure script of encfs expected osxfuse in /usr or /usr/local.
This patch enables the configure script to search for fuse include files
also in HOMEBREW_PREFIX.
Closes #32079.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/encfs.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/encfs.rb b/Library/Formula/encfs.rb index 2b9acd6d7..561b3b4f8 100644 --- a/Library/Formula/encfs.rb +++ b/Library/Formula/encfs.rb @@ -59,6 +59,10 @@ class Encfs < Formula end system "make", "-f", "Makefile.dist" + # This provides a workaround for https://github.com/vgough/encfs/issues/18 + # osxfuse's installation directory cannot be given as a parameter to configure script + inreplace "configure", "/usr/include/osxfuse /usr/local/include/osxfuse", + "/usr/include/osxfuse /usr/local/include/osxfuse #{HOMEBREW_PREFIX}/include/osxfuse" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-boost=#{HOMEBREW_PREFIX}" |
