Skip to content

Commit

Permalink
xqilla: revision for xerces-c
Browse files Browse the repository at this point in the history
build with C++11
  • Loading branch information
Roger Leigh authored and ilovezfs committed Oct 7, 2017
1 parent 10fdedf commit 25fe82c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Formula/xqilla.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Xqilla < Formula
homepage "https://xqilla.sourceforge.io/"
url "https://downloads.sourceforge.net/project/xqilla/XQilla-2.3.3.tar.gz"
sha256 "8f76b9b4f966f315acc2a8e104e426d8a76ba4ea3441b0ecfdd1e39195674fd6"
revision 1

bottle do
cellar :any
Expand All @@ -16,7 +17,17 @@ class Xqilla < Formula

conflicts_with "zorba", :because => "Both supply xqc.h"

needs :cxx11

# See https://sourceforge.net/p/xqilla/bugs/48/
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/master/xqilla/xerces-containing-node.patch"
sha256 "36ffb2dff579e5610ca3be2a962942433127b24a78ca454647059d6d54b8e014"
end

def install
ENV.cxx11

system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--with-xerces=#{HOMEBREW_PREFIX}",
"--prefix=#{prefix}"
Expand Down

0 comments on commit 25fe82c

Please sign in to comment.