From 3d4a4a69f1da688ff34db8fcfeb2adb65588dccd Mon Sep 17 00:00:00 2001 From: Chilledheart Date: Mon, 2 Jun 2014 18:11:58 +0800 Subject: dmd: download additional resources before compiling Closes #29766. Signed-off-by: Adam Vandenberg --- Library/Formula/dmd.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/dmd.rb b/Library/Formula/dmd.rb index 98b0e4107..6d9223fbe 100644 --- a/Library/Formula/dmd.rb +++ b/Library/Formula/dmd.rb @@ -40,13 +40,12 @@ class Dmd < Formula make_args.unshift "DMD=#{bin}/dmd" + (buildpath/'druntime').install resource('druntime') + (buildpath/'phobos').install resource('phobos') system "make", "-C", "druntime", "install", *make_args system "make", "-C", "phobos", "install", "VERSION=#{buildpath}/VERSION", *make_args - (buildpath/'druntime').install resource('druntime') - (buildpath/'phobos').install resource('phobos') - resource('tools').stage do inreplace 'posix.mak', 'install: $(TOOLS) $(CURL_TOOLS)', 'install: $(TOOLS)' system "make", "install", *make_args -- cgit v1.2.3