repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit a902593b864d0de16b160718f0050190dced2c46
parent 1e48bf2d4c27d658e5141f44300ed1979a7c4182
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 23 May 2020 17:21:50 +0300

cairo: POSIX sed

Diffstat:
Mxorg/cairo/build | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/xorg/cairo/build b/xorg/cairo/build @@ -1,8 +1,14 @@ #!/bin/sh -e +sed_i() { + for file; do :; done + sed "$@" >_ + cat _ > "$file"; rm -f _ +} + # 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_i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure +sed_i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure ./configure \ --prefix=/usr \