Created
June 12, 2012 18:32
-
-
Save bookshelfdave/2919248 to your computer and use it in GitHub Desktop.
Diff to get erlang_js to build on FreeBSD 9 i386 w/ gmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package/freebsd/Makefile b/package/freebsd/Makefile | |
index 652d199..f31687f 100644 | |
--- a/package/freebsd/Makefile | |
+++ b/package/freebsd/Makefile | |
@@ -57,6 +57,7 @@ buildrel: $(BUILD_RIAK_PATH) | |
sed -e "s/^RIAK_VERSION.*$$/RIAK_VERSION=\"${VERSIONSTRING}\"/" < \ | |
$(BUILD_RIAK_PATH)/rel/files/riak.tmp > $(BUILD_RIAK_PATH)/rel/files/riak | |
cp -f $(PKGERDIR)/vars.config $(BUILD_RIAK_PATH)/rel/vars.config | |
+ sed -I .old s/make/gmake/ $(BUILD_RIAK_PATH)/deps/erlang_js/rebar.config | |
$(MAKE) -C $(BUILD_RIAK_PATH) deps rel | |
chmod 0755 $(BUILD_RIAK_PATH)/rel/riak/bin/* $(BUILD_RIAK_PATH)/rel/riak/erts-*/bin/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment