Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (24 sloc) 1.181 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
{sub_dirs, ["rel"]}.

{erl_opts, [%% OTP R11 - R15B -> yaws_sendfile_drv or compat_send
            {platform_define,
             "R1([1-4]|5[AB]-).*(linux|freebsd|darwin)", 'HAVE_YAWS_SENDFILE'},
            {platform_define, "R1([1-4]|5[AB]-)", 'NO_FILE_SENDFILE'},
            no_debug_info,
            {src_dirs, ["src", "examples/src"]},
            warnings_as_errors]}.

{port_env, [{"CFLAGS", "$CFLAGS -g -O3 -Wall -I/usr/include/security"},
            {"R1([1-4]|5[AB]-).*(linux|freebsd|darwin)",
             "DRV_CFLAGS", "$DRV_CFLAGS -DHAVE_YAWS_SENDFILE"}]}.

{port_specs, [{"priv/lib/epam.so", ["c_src/epam.c"]},
              {"priv/lib/setuid_drv.so", ["c_src/setuid_drv.c"]},
              {"R1([1-4]|5[AB]-).*(linux|freebsd|darwin)",
               "priv/lib/yaws_sendfile_drv.so",
               ["c_src/yaws_sendfile_drv.c", "c_src/hashtable.c"]}]}.

{pre_hooks, [{compile, "./scripts/rebar-pre-script"},
             {clean, "./scripts/rebar-pre-script clean"}]}.

{deps,
 [
  {ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git", "HEAD"}}
 ]}.
Something went wrong with that request. Please try again.