From 6b4d345c3f16a4c5bbc780442db0f138cda7fa18 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 19 Feb 2012 19:09:32 -0800 Subject: dmd: fix writing conf file --- Library/Formula/dmd.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/dmd.rb b/Library/Formula/dmd.rb index 682657774..c8ff22174 100644 --- a/Library/Formula/dmd.rb +++ b/Library/Formula/dmd.rb @@ -24,8 +24,10 @@ class Dmd < Formula man5.install man1+'dmd.conf.5' # oops (share+'d/examples').install Dir['samples/d/*.d'] + # Rewrite the DFLAGS to point to the prefix. # @adamv: this should not go into bin! - # but I'm too lazy to fix since I'm just pulling a change + # But I'm too lazy to figure out how to fix right now. + rm bin+'dmd.conf' (bin+'dmd.conf').write <<-EOS.undent [Environment] DFLAGS=-I#{prefix}/src/phobos -I#{prefix}/src/druntime/import -- cgit v1.2.3