aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2013-01-01 17:39:38 -0400
committerMisty De Meo2013-01-01 17:45:44 -0400
commit3abafcf92bf56437b4cbc8589b588304b366f476 (patch)
tree27d2b62eeb6c2f9e697a52567d598be48ba616b7 /Library/Formula
parentdd6efb8699e649dc6a3f54bf8154d0d05f9a105c (diff)
downloadhomebrew-3abafcf92bf56437b4cbc8589b588304b366f476.tar.bz2
cdrtools: don't install smake files
cdrtools tries to install some generic smake includes, headers and manpages, which conflict with the copies installed by smake itself.
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