2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

cairo: remove sed -i

This commit is contained in:
Dylan Araps 2021-07-03 21:32:12 +00:00
parent 432ba44e0e
commit de14245280
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,11 +1,15 @@
#!/bin/sh -e
# Disable building 'cairo-sphinx'.
sed -i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure
sed -i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure
sed -e "s/\(BUILD_SPHINX_TRUE=\)/\1'#'/" \
-e "s/\(BUILD_SPHINX_FALSE=\)'#'/\1=/" \
configure > _
mv -f _ configure
chmod +x configure
# Disable building tests.
sed -i 's/test perf//g' Makefile.in
sed 's/test perf//g' Makefile.in > _
mv -f _ Makefile.in
./configure \
--prefix=/usr \