Update sqlite to 3.6.23.1

This commit is contained in:
Adam Vandenberg 2010-04-12 11:19:13 -07:00
parent e149a1c037
commit a2186c1183
2 changed files with 6 additions and 5 deletions

View file

@ -20,15 +20,16 @@ class ModWsgi <Formula
# Find the archs of the Python we are building against.
# We remove 'ppc' support, so we can pass Intel-optimized CFLAGS.
archs = archs_for_command("python").collect{ |arch| "-arch #{arch}" }
archs = archs_for_command("python")
archs.delete :ppc7400
archs.delete :ppc64
inreplace 'Makefile' do |s|
s.gsub! "-Wc,'-arch x86_64' -Wc,'-arch i386' -Wc,'-arch ppc7400'",
archs.collect{ |a| "-Wc,'#{a}'" }.join(' ')
archs.collect{ |a| "-Wc,'-arch #{a}'" }.join(' ')
s.gsub! "-arch x86_64 -arch i386 -arch ppc7400", archs*' '
s.gsub! "-arch x86_64 -arch i386 -arch ppc7400",
archs.collect{ |a| "-arch #{a}" }.join(' ')
# --libexecdir parameter to ./configure isn't changing this, so cram it in
# This will be where the Apache module ends up, and we don't want to touch

View file

@ -1,8 +1,8 @@
require 'formula'
class Sqlite <Formula
url 'http://www.sqlite.org/sqlite-amalgamation-3.6.23.tar.gz'
md5 '8f1e86b3909a27f8122b0981afd16fcd'
url 'http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz'
md5 'ed585bb3d4e5c643843ebb1e318644ce'
homepage 'http://www.sqlite.org/'
def options