aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cdrtools.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-01-04 17:03:38 -0400
committerMisty De Meo2013-01-04 17:23:47 -0400
commit63bd61f30bf32b85ec5ec3961742cc79af1597a3 (patch)
treec0ed0f6fb16d9e17de56c7975ab70374adeab9a2 /Library/Formula/cdrtools.rb
parent235fcb3ffbc769b061792055d81657ffc13a2720 (diff)
downloadhomebrew-63bd61f30bf32b85ec5ec3961742cc79af1597a3.tar.bz2
cdrtools: remove additional smake files
It turns out that *all* of the includes installed by cdrtools are generic smake includes, and will clash with other software installed by the same author if not removed. Additionally, some (but not all) of its libs appear to be generic smake libs and are also installed by star.
Diffstat (limited to 'Library/Formula/cdrtools.rb')
-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