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, 2 insertions, 3 deletions
diff --git a/xorg/cairo/build b/xorg/cairo/build
index 518c4ca0..92dafa69 100755
--- a/xorg/cairo/build
+++ b/xorg/cairo/build
@@ -1,9 +1,8 @@
#!/bin/sh -e
# Disable building 'cairo-sphinx'.
-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
+sed -i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure
+sed -i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure
./configure \
--prefix=/usr \