[Pkg-ocaml-maint-commits] [SCM] js-of-ocaml packaging branch, master, updated. debian/1.0+dfsg-2-9-g35ca6f6

Nicolas Dandrimont Nicolas.Dandrimont at crans.org
Wed May 25 20:52:03 UTC 2011


The following commit has been merged in the master branch:
commit c38b8dcf314bfadccc50914c4e94032c3a852b1f
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date:   Wed May 25 20:21:08 2011 +0000

    Fix build failure on non-native arches due to upstream changes

diff --git a/debian/rules b/debian/rules
index 2f5972a..920d93c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 DESTDIR=$(CURDIR)/debian/tmp
 BINDIR=$(DESTDIR)/usr/bin
 DOCDIR=$(DESTDIR)/usr/share/doc/libjs-of-ocaml-dev
-COMPILER=$(shell sed -n "s/COMPILER=//p" Makefile.conf)
+COMPILER=$(shell awk '/COMPILER/{print $$NF}' Makefile.conf)
 
 include /usr/share/ocaml/ocamlvars.mk
 

-- 
js-of-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list