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() {
|
||||
make -C build_native/contrib/snowball
|
||||
sed -i "s#\./snowball#../../../build_native/contrib/snowball/snowball#g" \
|
||||
build/contrib/snowball/CMakeFiles/stemmer.dir/build.make
|
||||
vsed -e "s#${wrksrc}/build/contrib/snowball/snowball#${wrksrc}/build_native/contrib/snowball/snowball#g" \
|
||||
-i build/build.ninja
|
||||
}
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-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
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
|
||||
|
|
Loading…
Reference in a new issue