extend/erlang.mk — pull request #35 by NineFX (2013-12-01 20:29:36+00:00)
Title: Changed \s pattern in sed regex pattern to [[:space:]]. 

erlang.mk uses \s to match whitespace when matching the modules tuple in src/$(PROJECT).app.src. This is a GNU-specific sed extension. This breaks the build with BSD sed implementations. This change moves to [[:space:]] for a POSIX-compliant whitespace pattern. To test this patch, I used both sed and gsed on OS Mavericks to build farwest and it worked. I grabbed gsed from MacPorts.

This should make the sed pattern portable across GNU and BSD implementations.