Skip to content

Commit 619eea7

Browse files
author
Andrei Zavada
committed
reuse fetched deps in when building freebsd package, too
1 parent c3b78f8 commit 619eea7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rel/pkg/fbsdng/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ $(BUILD_STAGE_DIR): buildrel
9797
# * copy the vars.config over for build config
9898
buildrel:
9999
tar -xf $(BASE_DIR)/rel/pkg/out/$(PKG_ID).tar.gz -C $(BASE_DIR)/rel/pkg/out/$(PKG_ID)
100+
cd $(BASE_DIR)/rel/pkg/out/$(PKG_ID); \
101+
(mkdir -p _build/default && cd _build/default && for d in lib; do ln -fs $(BASE_DIR)/_build/default/$$d; done); \
100102
$(MAKE) -C $(BASE_DIR)/rel/pkg/out/$(PKG_ID) rel-fbsdng
101103
rm -rf rel/riak/lib/*/c_src rel/riak/lib/*/src
102104
chmod 0755 rel/riak/bin/* rel/riak/erts-*/bin/*

0 commit comments

Comments
 (0)