Browse files

star: adjust files to remove

For some reason (possibly the smake version bump?), star no longer
produces a tar.1 manpage, though it does still try to install a tar
symlink.

Additionally it turns out that many of the files it installs are
generic smake headers/libraries, which clash either with the versions
installed by smake itself or by those installed by other smake-based
software, e.g. cdrtools. Since they don't need to be necessary to use
star, all of those are now removed at the end of the build.
  • Loading branch information...
1 parent ea0f5b2 commit cfedde0aba84ad391b4fc9d53992fa573b80ac94 @mistydemeo mistydemeo committed with klausmeyer Jan 4, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 Library/Formula/star.rb
View
8 Library/Formula/star.rb
@@ -15,6 +15,12 @@ def install
(bin+'gnutar').unlink
(bin+'tar').unlink
(man1+'gnutar.1').unlink
- (man1+'tar.1').unlink
+
+ # Remove generic smake files that clash with smake's versions
+ (include/'schily').rmtree
+ %w[libschily.a libdeflt.a libfind.a].each do |file|
+ (lib/file).unlink
+ end
+ (lib/'profiled').rmtree
end
end

0 comments on commit cfedde0

Please sign in to comment.