aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-06-08 21:32:17 -0700
committerAdam Vandenberg2012-06-09 07:36:35 -0700
commitb77c0bd441308ee63d0d12fd43af974ec089a706 (patch)
treeb46971376689409d0236d6c80e161de98e8d136a /Library/Formula
parent68984cff3f81d61309cf23d0b89cc43543354cbd (diff)
downloadhomebrew-b77c0bd441308ee63d0d12fd43af974ec089a706.tar.bz2
mapnik: only apply patch to stable
The patch has been merged upstream. Add `unless ARGV.build_head?` to the patch block. Note in the comments to remove the patch at version 2.0.2. Mapnik HEAD builds well again. Fixes #12683 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mapnik.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mapnik.rb b/Library/Formula/mapnik.rb
index f8f7be3ce..c33f3459d 100644
--- a/Library/Formula/mapnik.rb
+++ b/Library/Formula/mapnik.rb
@@ -15,9 +15,9 @@ class Mapnik < Formula
depends_on 'cairomm' => :optional
# Reported upstream: https://github.com/mapnik/mapnik/issues/1171
- # Fix is not yet in HEAD as of 3 MAY 2012, but likely will be in 2.0.2.
+ # Fix is in head. Remove at 2.0.2.
def patches
- DATA
+ DATA unless ARGV.build_head?
end
def install