Skip to content

Commit

Permalink
plt-racket: use source distribution.
Browse files Browse the repository at this point in the history
A source distribution for a release is configured with a suitable
package catalog, which avoids the problem reported as Racket PR 14648
(query at http://bugs.racket-lang.org/).

Using the "builtpkgs" variant of the source distribution makes the
installation work with pre-built packages, which enables faster installs
of Racket packages.
  • Loading branch information
mflatt authored and MikeMcQuaid committed Jul 24, 2014
1 parent afe760c commit 857db56
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Library/Formula/plt-racket.rb
Expand Up @@ -2,11 +2,12 @@

class PltRacket < Formula
homepage "http://racket-lang.org/"
url "https://github.com/plt/racket/archive/v6.0.1.tar.gz"
sha1 "c459860b5bc9c37f6e5d9f3e74ae8fcdd44ef45e"
url "http://mirror.racket-lang.org/installers/6.0.1/racket-minimal-6.0.1-src-builtpkgs.tgz"
sha1 "41bc76a8e0ffb5d2b108d52faeca1d6ed71a4318"
version "6.0.1"

def install
cd 'racket/src' do
cd 'src' do
args = ["--disable-debug", "--disable-dependency-tracking",
"--enable-macprefix",
"--prefix=#{prefix}",
Expand Down

0 comments on commit 857db56

Please sign in to comment.