aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/physfs.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/physfs.rb b/Library/Formula/physfs.rb
index c8e745bf4..189cb4726 100644
--- a/Library/Formula/physfs.rb
+++ b/Library/Formula/physfs.rb
@@ -8,7 +8,11 @@ class Physfs < Formula
depends_on 'cmake' => :build
def install
- system "cmake . #{std_cmake_parameters} -DPHYSFS_BUILD_WX_TEST=FALSE"
- system "make install"
+ mkdir 'macbuild'
+ Dir.chdir 'macbuild' do
+ system "cmake #{std_cmake_parameters} -DPHYSFS_BUILD_WX_TEST=FALSE -DPHYSFS_BUILD_TEST=TRUE .."
+ system "make"
+ system "make install"
+ end
end
end