# HG changeset patch
# User Aleksej Bobylev <al.bobylev@gmail.com>
# Date 1359169473 0
# Node ID 4bd37853a2dcf8de9e12979eae933aeadd1409db
# Parent  534f88ba45a5d7f8dff123fddfb41d3ed2e828e6
cssed: fix build

diff -r 534f88ba45a5 -r 4bd37853a2dc cssed/receipt
--- a/cssed/receipt	Fri Jan 25 23:21:02 2013 +0000
+++ b/cssed/receipt	Sat Jan 26 03:04:33 2013 +0000
@@ -15,10 +15,10 @@
 # Rules to configure and make the package.
 compile_rules()
 {
-	sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx 
-	LDFLAGS="$LDFLAGS -lgmodule"
-	./configure $CONFIGURE_ARGS && 
-	make && 
+	sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
+	./configure $CONFIGURE_ARGS &&
+	sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
+	make &&
 	make install
 }