diff options
| author | Adam Vandenberg | 2014-02-24 21:25:59 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:16 -0800 |
| commit | 60fe22d0d75e3258f95b488933f6975e50cfdff4 (patch) | |
| tree | 5ef760785a7bab14586d9766ec126e183feb4c65 /Library/Formula | |
| parent | d9965384f3cfec329ec9f037bce37b9ffc76d5c2 (diff) | |
| download | homebrew-60fe22d0d75e3258f95b488933f6975e50cfdff4.tar.bz2 | |
encfs: Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/encfs.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/encfs.rb b/Library/Formula/encfs.rb index 68fa7241f..f093bf974 100644 --- a/Library/Formula/encfs.rb +++ b/Library/Formula/encfs.rb @@ -24,8 +24,9 @@ class Encfs < Formula def install # Add correct flags for linkage with {osx,}fuse and gettext libs - ENV.append 'CPPFLAGS', %x[pkg-config fuse --cflags].chomp + "-I#{Formula.factory('gettext').include}" - ENV.append 'LDFLAGS', %x[pkg-config fuse --libs].chomp + "-L#{Formula.factory('gettext').lib}" + gettext = Formula['gettext'] + ENV.append 'CPPFLAGS', %x[pkg-config fuse --cflags].chomp + "-I#{gettext.include}" + ENV.append 'LDFLAGS', %x[pkg-config fuse --libs].chomp + "-L#{gettext.lib}" inreplace "configure", "-lfuse", "-losxfuse" # Adapt to changes in recent Xcode by making local copy of endian-ness definitions |
