summaryrefslogtreecommitdiff
path: root/homebrew/guichan/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/guichan/.make.sh-auto')
-rw-r--r--homebrew/guichan/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/guichan/.make.sh-auto b/homebrew/guichan/.make.sh-auto
new file mode 100644
index 000000000..e24a05aaf
--- /dev/null
+++ b/homebrew/guichan/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.append "CPPFLAGS", "-I#{Formula["sdl_image"].opt_include}/SDL"
+ENV.append "LDFLAGS", "-lSDL -lSDL_image -framework OpenGL"
+inreplace "src/opengl/Makefile.in", "-no-undefined", " "
+inreplace "src/sdl/Makefile.in", "-no-undefined", " "
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install