diff options
Diffstat (limited to 'homebrew/httest/.make.sh-auto')
-rw-r--r-- | homebrew/httest/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/httest/.make.sh-auto b/homebrew/httest/.make.sh-auto new file mode 100644 index 000000000..ca2e60697 --- /dev/null +++ b/homebrew/httest/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +inreplace "configure", "else LUA_LIB_PATH=\"-L${withval}\"; LUA_INCLUDES=\"-I${withval}\"; LUA_LIB=\"-llua\"; fi", "else LUA_LIB_PATH=\"-L${withval}/lib\"; LUA_INCLUDES=\"-I${withval}/include/lua-5.1\"; LUA_LIB=\"-llua.5.1\"; fi" +(buildpath/"brew_include").install_symlink Formula["pcre"].opt_include => "pcre" +ENV.prepend "CPPFLAGS", "-I#{buildpath}/brew_include" +if MacOS.version == :sierra || MacOS.version == :el_capitan +ENV["SDKROOT"] = MacOS.sdk_path +end +pkg:configure --disable-dependency-tracking --enable-h2-module --enable-html-module --enable-js-module --enable-lua-module --enable-xml-module --with-apr=#{Formula[apr"].opt_bin}" --with-lua=#{Formula[lua@5.1"].opt_prefix}" +make DESTDIR=${PKG_DEST} install |