summaryrefslogtreecommitdiff
path: root/debian/patches/disable_embedded_scons
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-01-15 18:14:23 +0000
committerMicah Anderson <micah@riseup.net>2014-01-17 15:53:14 -0500
commit07cc4e305e806a7bb236fbb8f6d9893a2011d85e (patch)
tree1bb9456f1beef19a916878d154966da825554cd5 /debian/patches/disable_embedded_scons
parent65a973d6304de0098ad47c2df517a48f45ebe68a (diff)
initial debianization
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
+