commit | author | age
|
c12ded
|
1 |
--- pcs-0.9.168/pcsd/Makefile.~1~ 2019-08-19 14:02:03.395349082 +0000 |
AG |
2 |
+++ pcs-0.9.168/pcsd/Makefile 2019-08-19 14:02:37.344430033 +0000 |
|
3 |
@@ -1,16 +1,7 @@ |
|
4 |
FFI_VERSION="1.9.25" |
|
5 |
-FFI_C_DIR=vendor/bundle/ruby/gems/ffi-${FFI_VERSION}/ext/ffi_c |
|
6 |
|
b25ecf
|
7 |
-build_gems: get_gems |
JMC |
8 |
+build_gems: |
c12ded
|
9 |
bundle install --local --deployment |
AG |
10 |
- #ffi makes symlink with absolute path. Let's change it to relative path. |
|
11 |
- for fname in `ls ${FFI_C_DIR}/libffi-*/include/ffitarget.h`; do \ |
|
12 |
- if [[ -L "$$fname" ]]; then \ |
|
13 |
- target=$$(readlink $$fname | sed "s~.*/${FFI_C_DIR}\(/libffi/src/[^/]\+/ffitarget.h\)~../..\1~"); \ |
|
14 |
- rm $$fname; \ |
|
15 |
- ln -s $$target $$fname; \ |
|
16 |
- fi; \ |
|
17 |
- done; |
|
18 |
|
|
19 |
build_gems_without_bundler: |
|
20 |
mkdir -p vendor/bundle/ruby |