{port_specs, [
|
|
{"priv/jiffy.so", ["c_src/*.c*", "deps/double-conversion/src/*.cc"]}
|
|
]}.
|
|
|
|
{port_env, [
|
|
{".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Ideps/double-conversion/src"},
|
|
|
|
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
|
|
"LDFLAGS", "$LDFLAGS -lstdc++"},
|
|
|
|
%% OS X Leopard flags for 64-bit
|
|
{"darwin9.*-64$", "CXXFLAGS", "-m64"},
|
|
{"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},
|
|
|
|
%% OS X Snow Leopard flags for 32-bit
|
|
{"darwin10.*-32$", "CXXFLAGS", "-m32"},
|
|
{"darwin10.*-32$", "LDFLAGS", "-arch i386"},
|
|
|
|
%% This will merge into basho/rebar/rebar.config eventually
|
|
{"win32", "CFLAGS", "/Wall /DWIN32 /D_WINDOWS /D_WIN32 /DWINDOWS"}
|
|
]}.
|
|
|
|
|
|
{eunit_opts, [
|
|
verbose,
|
|
{report, {
|
|
eunit_surefire, [{dir,"."}]
|
|
}}
|
|
]}.
|
|
|
|
{deps, [
|
|
{'double-conversion', ".*",
|
|
{git, "https://code.google.com/p/double-conversion/", "master"}, [raw]}
|
|
]}.
|