Skip to content

Commit

Permalink
reuse fetched deps in when building freebsd package, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Zavada committed Jan 9, 2023
1 parent c3b78f8 commit 619eea7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rel/pkg/fbsdng/Makefile
Expand Up @@ -97,6 +97,8 @@ $(BUILD_STAGE_DIR): buildrel
# * copy the vars.config over for build config
buildrel:
tar -xf $(BASE_DIR)/rel/pkg/out/$(PKG_ID).tar.gz -C $(BASE_DIR)/rel/pkg/out/$(PKG_ID)
cd $(BASE_DIR)/rel/pkg/out/$(PKG_ID); \
(mkdir -p _build/default && cd _build/default && for d in lib; do ln -fs $(BASE_DIR)/_build/default/$$d; done); \
$(MAKE) -C $(BASE_DIR)/rel/pkg/out/$(PKG_ID) rel-fbsdng
rm -rf rel/riak/lib/*/c_src rel/riak/lib/*/src
chmod 0755 rel/riak/bin/* rel/riak/erts-*/bin/*
Expand Down

0 comments on commit 619eea7

Please sign in to comment.