aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cdrtools.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/cdrtools.rb b/Library/Formula/cdrtools.rb
index 1f339e796..eaa4f7aba 100644
--- a/Library/Formula/cdrtools.rb
+++ b/Library/Formula/cdrtools.rb
@@ -9,5 +9,11 @@ class Cdrtools < Formula
def install
system "smake", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install"
+ # cdrtools tries to install some generic smake headers, libraries and
+ # manpages, which conflict with the copies installed by smake itself
+ (include/"schily/i386-darwin-cc").rmtree
+ (lib/"libschily.a").unlink
+ (lib/"profiled").rmtree
+ man5.rmtree
end
end