[Pkg-ocaml-maint-commits] [ocaml-text] 10/11: Replace pcre-syntax.cmxs by a symbolic link (Closes: #868549)
Stéphane Glondu
glondu at moszumanska.debian.org
Tue Jul 18 09:25:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository ocaml-text.
commit 29fcdf08badf244aed4e082a6bd57326fe617b2b
Author: Stephane Glondu <steph at glondu.net>
Date: Tue Jul 18 10:52:47 2017 +0200
Replace pcre-syntax.cmxs by a symbolic link (Closes: #868549)
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index aa544e4..4b17a4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,11 @@ override_dh_auto_install:
.PHONY: override_dh_install
override_dh_install:
dh_install --fail-missing
+# Replace pcre-syntax.cmxs by a symbolic link to avoid #868549
+ if cmp debian/libtext-ocaml/usr/lib/ocaml/text/text.cmxs debian/libtext-ocaml-dev/usr/lib/ocaml/text/pcre-syntax.cmxs; then \
+ rm -f debian/libtext-ocaml-dev/usr/lib/ocaml/text/pcre-syntax.cmxs; \
+ ln -s text.cmxs debian/libtext-ocaml-dev/usr/lib/ocaml/text/pcre-syntax.cmxs; \
+ fi
.PHONY: override_dh_auto_clean
override_dh_auto_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-text.git
More information about the Pkg-ocaml-maint-commits
mailing list