{port_specs, [{"priv/wterl.so", ["c_src/*.c"]}]}. {port_env, [ {"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include"}, {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libwiredtiger.a"} ]}. {pre_hooks, [{compile, "c_src/build_deps.sh"}]}. {post_hooks, [{clean, "c_src/build_deps.sh clean"}]}.