Fix Makefile $-escaping syntax
authorXimin Luo <infinity0@debian.org>
Fri, 21 Jul 2017 16:57:06 +0000 (18:57 +0200)
committerXimin Luo <infinity0@debian.org>
Fri, 21 Jul 2017 16:57:06 +0000 (18:57 +0200)
debian/changelog
debian/ocamlinit.mk

index 46481dbc11ec6fb2f982660bccf37321a99da2e7..26f07e671302d56ada0092770aa22f1213ef8f69 100644 (file)
@@ -1,3 +1,9 @@
+ocaml (4.05.0-3) UNRELEASED; urgency=medium
+
+  * Fix Makefile $-escaping syntax, fixes FTBFS on a bunch of arches.
+
+ -- Ximin Luo <infinity0@debian.org>  Fri, 21 Jul 2017 18:56:46 +0200
+
 ocaml (4.05.0-2) experimental; urgency=medium
 
   * Update conditional-install rules for easier maintenance. This fixes FTBFS
index 10b216ae1fcf46c8b3cca5868cd56cbac38266be..35636d439d124265ad934c4d9613222284d39664 100644 (file)
@@ -63,8 +63,8 @@ endif
 
 otherlib = \
 OCAMLINIT_SED += $(if $(filter $(1),$(OTHERLIBRARIES)),\
-  -e 's/^OTH: \(.*\b$(1)\.\w\w*$$\\)/\1/',\
-  -e '/^OTH: .*\b$(1)\.\w\w*$$/d')
+  -e 's/^OTH: \(.*\b$(1)\.\w\w*$$$$\)/\1/',\
+  -e '/^OTH: .*\b$(1)\.\w\w*$$$$/d')
 # careful, no whitespace after the comma
 $(eval $(call otherlib,raw_spacetime_lib))