aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cdrtools.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/cdrtools.rb b/Library/Formula/cdrtools.rb
index b91c36bb1..c0636c07c 100644
--- a/Library/Formula/cdrtools.rb
+++ b/Library/Formula/cdrtools.rb
@@ -14,8 +14,10 @@ class Cdrtools < Formula
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
+ (include/"schily").rmtree
+ %w[libschily.a libdeflt.a libfind.a].each do |file|
+ (lib/file).unlink
+ end
(lib/"profiled").rmtree
man5.rmtree
end