|
Lines 142-154
src_prepare() {
Link Here
|
| 142 |
sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping" |
142 |
sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping" |
| 143 |
} |
143 |
} |
| 144 |
|
144 |
|
| 145 |
src_compile() { |
145 |
src_configure() { |
| 146 |
export LIBGIT2_SYS_USE_PKG_CONFIG=1 |
|
|
| 147 |
export PKG_CONFIG_ALLOW_CROSS=1 |
| 148 |
local myfeatures=( |
146 |
local myfeatures=( |
| 149 |
$(usev git) |
147 |
$(usev git) |
| 150 |
) |
148 |
) |
| 151 |
cargo_src_compile --no-default-features |
149 |
export LIBGIT2_SYS_USE_PKG_CONFIG=1 |
|
|
150 |
export PKG_CONFIG_ALLOW_CROSS=1 |
| 151 |
cargo_src_configure --no-default-features |
| 152 |
} |
152 |
} |
| 153 |
|
153 |
|
| 154 |
src_install() { |
154 |
src_install() { |