Skip to content

Commit

Permalink
cdrtools: don't install smake files
Browse files Browse the repository at this point in the history
cdrtools tries to install some generic smake includes, headers and
manpages, which conflict with the copies installed by smake itself.
  • Loading branch information
mistydemeo committed Jan 1, 2013
1 parent dd6efb8 commit 3abafcf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Library/Formula/cdrtools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3abafcf

Please sign in to comment.