aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-01-27 22:37:43 +0000
committerMike McQuaid2013-01-30 21:29:20 -0800
commit09d7bd71a88167495522a984dc1413cdc1281a0e (patch)
treef04cb4dac613afb37e0aaa80d261d61ba47c0b02 /Library/Formula
parentd8aa4bb4d2a7810efefd0ebe1f9f9fa5d2d9b1bb (diff)
downloadhomebrew-09d7bd71a88167495522a984dc1413cdc1281a0e.tar.bz2
freetype: improve test.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freetype.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/freetype.rb b/Library/Formula/freetype.rb
index 01aa96651..1ac94b0d6 100644
--- a/Library/Formula/freetype.rb
+++ b/Library/Formula/freetype.rb
@@ -20,7 +20,8 @@ class Freetype < Formula
system "make install"
end
- def test
- system "#{bin}/freetype-config --ftversion"
+ test do
+ system "#{bin}/freetype-config", '--cflags', '--libs', '--ftversion',
+ '--exec-prefix', '--prefix'
end
end