aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-25 15:32:17 -0700
committerMax Howell2009-09-29 23:33:22 +0100
commit7188420deaaa64a6a7914f7f15388f44222fec30 (patch)
treea1be17417228755a5497d4fb9829aa0c42c6dd8a /Library/Formula
parent1544200b9937cabd029859a7a3adefb2100cc6c8 (diff)
downloadhomebrew-7188420deaaa64a6a7914f7f15388f44222fec30.tar.bz2
SDL now copies Objective-C support files.
Mac OS X projects that use SDL through Objective-C may require the "SDLmain" support files. Since these are not strictly header files, they are not installed into include by default, so we put them in our libexec folder.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sdl.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb
index 838b92853..1cfae8008 100644
--- a/Library/Formula/sdl.rb
+++ b/Library/Formula/sdl.rb
@@ -14,7 +14,10 @@ class Sdl <Formula
system "./configure", "--prefix=#{prefix}", "--disable-debug",
"--disable-dependency-tracking",
"--disable-video-x11",
- "--disable-nasm" # seems essential to build on 10.6
+ "--disable-nasm"
system "make install"
+
+ # Copy source files needed for Ojective-C support.
+ libexec.install Dir["src/main/macosx/*"]
end
end