1 --- apache-couchdb-3.1.1/src/couch/rebar.config.script.~1~ 2020-09-12 00:37:00.000000000 +0000
2 +++ apache-couchdb-3.1.1/src/couch/rebar.config.script 2021-05-14 21:01:16.083045752 +0000
7 + {unix, sunos} when SMVsn == "1.8.5" ->
9 + "-DXP_UNIX -I/usr/include/js",
10 + "-lmozjs185 -lm -m32"
12 + {unix, sunos} when SMVsn == "60" ->
14 + "-DXP_UNIX -I/usr/include/mozjs-60 -std=c++14 -m64",
15 + "-L/usr/lib/amd64 -lmozjs-60 -lm -std=c++14 -m64"
17 + {unix, sunos} when SMVsn == "68" ->
19 + "-DXP_UNIX -I/usr/include/mozjs-68 -std=c++14 -m64",
20 + "-L/usr/lib/amd64 -lmozjs-68 -lm -std=c++14 -m64"
22 {unix, _} when SMVsn == "1.8.5" ->
24 "-DXP_UNIX -I/usr/include/js -I/usr/local/include/js",
29 "-DHAVE_CURL -I/usr/local/include",
34 + "-DHAVE_CURL -I/usr/include",
35 + "-DHAVE_CURL -lcurl"
42 {"darwin", IcuPath, IcuSrc, [{env, IcuEnv ++ IcuDarwinEnv}]},
43 {"linux", IcuPath, IcuSrc, [{env, IcuEnv}]},
44 + {"solaris", IcuPath, IcuSrc, [{env, IcuEnv}]},
45 {"bsd", IcuPath, IcuSrc, [{env, IcuEnv ++ IcuBsdEnv}]},
46 {"win32", IcuPath, IcuSrc, [{env, IcuWinEnv}]},
48 {"darwin", ComparePath, CompareSrc, [{env, IcuEnv ++ IcuDarwinEnv}]},
49 + {"solaris", ComparePath, CompareSrc, [{env, IcuEnv}]},
50 {"linux", ComparePath, CompareSrc, [{env, IcuEnv}]},
51 {"bsd", ComparePath, CompareSrc, [{env, IcuEnv ++ IcuBsdEnv}]},
52 {"win32", ComparePath, CompareSrc, [{env, IcuWinEnv}]}