aboutsummaryrefslogtreecommitdiff
path: root/xorg/cairo/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/cairo/build')
-rwxr-xr-xxorg/cairo/build5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg/cairo/build b/xorg/cairo/build
index 92dafa69..518c4ca0 100755
--- a/xorg/cairo/build
+++ b/xorg/cairo/build
@@ -1,8 +1,9 @@
#!/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 "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure > configure.bak
+sed "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure.bak > configure
+chmod +x configure
./configure \
--prefix=/usr \