aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-01-04 17:18:27 -0400
committerMisty De Meo2013-01-04 17:23:48 -0400
commita36e540a6af10d7fe23b568f86dcd81425947011 (patch)
treecbb880476559bb835c0e01f01b1b70867c6472d5 /Library
parent63bd61f30bf32b85ec5ec3961742cc79af1597a3 (diff)
downloadhomebrew-a36e540a6af10d7fe23b568f86dcd81425947011.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/star.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/star.rb b/Library/Formula/star.rb
index 6a1c8721f..f513f6d19 100644
--- a/Library/Formula/star.rb
+++ b/Library/Formula/star.rb
@@ -15,6 +15,12 @@ class Star < Formula
(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