aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:22 -0500
committerJack Nagel2014-03-20 23:31:21 -0500
commit32cb8697b2a90ac96deb19f077966d3f47cee9b3 (patch)
tree82769622217bb315da126e9ef1542817a5741968 /Library/Formula
parentf6a632f5d8384c3630cc5cd2c45194ef4532162d (diff)
downloadhomebrew-32cb8697b2a90ac96deb19f077966d3f47cee9b3.tar.bz2
vpnc: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vpnc.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/vpnc.rb b/Library/Formula/vpnc.rb
index f836be78b..cbe746377 100644
--- a/Library/Formula/vpnc.rb
+++ b/Library/Formula/vpnc.rb
@@ -20,9 +20,7 @@ class Vpnc < Formula
option "hybrid", "Use vpnc hybrid authentication"
# Patch from user @Imagesafari to enable compilation on Lion
- def patches
- DATA if MacOS.version >= :lion
- end
+ patch :DATA if MacOS.version >= :lion
def install
ENV.no_optimization