rspamd: fix build
changing to ninja in cmake build-style broke the sed calls
This commit is contained in:
parent
3868813e5c
commit
1a18a2ced4
1 changed files with 3 additions and 3 deletions
|
@ -32,15 +32,15 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
make -C build_native/contrib/snowball
|
make -C build_native/contrib/snowball
|
||||||
sed -i "s#\./snowball#../../../build_native/contrib/snowball/snowball#g" \
|
vsed -e "s#${wrksrc}/build/contrib/snowball/snowball#${wrksrc}/build_native/contrib/snowball/snowball#g" \
|
||||||
build/contrib/snowball/CMakeFiles/stemmer.dir/build.make
|
-i build/build.ninja
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) # Remove non existing library nsl
|
*-musl) # Remove non existing library nsl
|
||||||
sed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
|
vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d"
|
||||||
esac
|
esac
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
|
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
|
||||||
|
|
Loading…
Reference in a new issue