diff options
Diffstat (limited to 'homebrew/enigma/.make.sh-auto')
-rw-r--r-- | homebrew/enigma/.make.sh-auto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/enigma/.make.sh-auto b/homebrew/enigma/.make.sh-auto new file mode 100644 index 000000000..98df9e161 --- /dev/null +++ b/homebrew/enigma/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +ENV.cxx11 +inreplace "configure" do |s| +s.gsub! /-framework (SDL(_(mixer|image|ttf))?)/, '-l\1' +s.gsub! %r{\${\w+//\\"/}/lib(freetype|png|xerces-c)\.a}, '-l\1' +s.gsub! %r{(LIBINTL)="\${with_libintl_prefix}/lib/lib(intl)\.a"}, '\1=-l\2' +s.gsub! /^\s+LIBENET_CFLAGS\n.*LIBENET.*\n\s+LIBENET_LIBS\n.*LIBENET.*$/, "" |