aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/physfs.rb
diff options
context:
space:
mode:
authorNibbles 2bits2011-10-24 13:16:52 -0700
committerCharlie Sharpsteen2011-10-25 11:03:16 -0700
commit69097eddfa25822ab9e63bf8370f2fa2417098d5 (patch)
treea0954c4fc23e29ff2fd3911fd82885bc7afc6148 /Library/Formula/physfs.rb
parent1f2e446ce446ed65f2d3f6784099cd11e9d49239 (diff)
downloadhomebrew-69097eddfa25822ab9e63bf8370f2fa2417098d5.tar.bz2
physfs: build oos + test_physfs
physfs-2.0.2 update formula to build out of source, and specify -DPHYSFS_BUILD_TEST=TRUE so that we compile a cli named test_physfs that lets you interactively operate on supported archives (e.g. Quake II PAKs or DOOM WADs). There were no problems with 64bit OSX 10.6.8 with gcc, llvm, or clang from XCode 4.0.2. Closes #8273. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/physfs.rb')
-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