diff options
| author | Jack Nagel | 2014-03-18 16:51:41 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 10:24:59 -0500 |
| commit | 7fa7ddcbbf605d682e8b40dc116f44f90008d4f2 (patch) | |
| tree | c5ef9756dd1f6951abda1d16a5fc4a1db7db1321 | |
| parent | 655fe890713b06c096808c6f57a11b2528dbf76a (diff) | |
| download | homebrew-7fa7ddcbbf605d682e8b40dc116f44f90008d4f2.tar.bz2 | |
electric-fence: use patch DSL
| -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> |
