aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-01-23 22:22:27 -0600
committerJack Nagel2012-01-23 22:26:41 -0600
commitd9a51561d52c45158eccef3c5baa4f4a442a4550 (patch)
tree458c85271e25cec3e152c558a8563b274aa80549 /Library
parentbb423739618f4e2975ef8a14bd1d42a7744fbffc (diff)
downloadhomebrew-d9a51561d52c45158eccef3c5baa4f4a442a4550.tar.bz2
dirac: fix bad `cp` invocation
This Makefile target is only triggered if the tools required to build the documentation are present, which I'm guessing is why this has gone unnoticed. Will send upstream. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dirac.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/dirac.rb b/Library/Formula/dirac.rb
index 317665c5b..4692c59a3 100644
--- a/Library/Formula/dirac.rb
+++ b/Library/Formula/dirac.rb
@@ -8,6 +8,9 @@ class Dirac < Formula
fails_with_llvm :build => 2334
def install
+ # BSD cp doesn't have '-d'
+ inreplace 'doc/Makefile.in', 'cp -dR', 'cp -R'
+
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end