diff options
| -rw-r--r-- | Library/Formula/electric-fence.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/electric-fence.rb b/Library/Formula/electric-fence.rb index acbfa794c..53a49792d 100644 --- a/Library/Formula/electric-fence.rb +++ b/Library/Formula/electric-fence.rb @@ -6,18 +6,16 @@ class ElectricFence < Formula version '2.1.13-0.1' sha1 'e6765bcb1543272040b806eea706fc7ae9b60524' + # Patch based on this MacPorts port: https://trac.macports.org/ticket/23836 + # Discussion on how to port it to OS X: http://lists.apple.com/archives/xcode-users/2005/Oct/msg00791.html + patch :DATA + def install system "make" lib.install "libefence.a" man3.install "libefence.3" end - def patches - # Patch based on this MacPorts port: https://trac.macports.org/ticket/23836 - # Discussion on how to port it to OS X: http://lists.apple.com/archives/xcode-users/2005/Oct/msg00791.html - DATA - end - test do (testpath/'test1.c').write <<-EOS.undent #include <stdlib.h> |
