1
2
3
4
5
6
7
8
9
10
11
12
|
{port_specs, [
{"priv/couch_icu_driver.so", ["c_src/couch_icu_driver.c"]}
]}.
{port_env, [
{"DRV_CFLAGS", "$DRV_CFLAGS -DPIC -O2 -fno-common"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lm -licuuc -licudata -licui18n -lpthread"},
{"linux", "DRV_LDFLAGS", "$DRV_LDFLAGS -lcrypt"},
{"freebsd", "DRV_CFLAGS", "$DRV_CFLAGS -I/usr/local/include"},
{"freebsd", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/usr/local/lib"},
{"solaris", "CC", "/usr/sfw/bin/gcc"},
{"solaris", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/opt/local/lib"}
]}.
|