summaryrefslogtreecommitdiff
path: root/debian/patches/disable_embedded_scons
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable_embedded_scons')
-rw-r--r--debian/patches/disable_embedded_scons20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/disable_embedded_scons b/debian/patches/disable_embedded_scons
new file mode 100644
index 00000000..91f57399
--- /dev/null
+++ b/debian/patches/disable_embedded_scons
@@ -0,0 +1,20 @@
+Index: cloudant_bigcouch/Makefile
+===================================================================
+--- cloudant_bigcouch.orig/Makefile 2014-01-17 07:09:37.100226333 -0500
++++ cloudant_bigcouch/Makefile 2014-01-17 07:10:27.906857239 -0500
+@@ -17,13 +17,13 @@
+ appfile = apps/couch/ebin/couch.app
+ compile:
+ @echo "==> couchjs (compile)"
+- @cd couchjs && python scons/scons.py
++ @cd couchjs && /usr/bin/scons
+ @rebar compile
+ @cat $(appfile) | sed s/%VSN%/`echo 1.1.1-792-gc8a44ff`/ > $(appfile)
+
+ clean:
+ @echo "==> couchjs (clean)"
+- @cd couchjs && python scons/scons.py --clean
++ @cd couchjs && /usr/bin/scons --clean
+ @rm -rf couchjs/.sconf_temp couchjs/.sconsign.dblite
+ @rebar clean
+