[Pkg-ocaml-maint-commits] [ppx-tools] 01/02: Add support for bytecode architectures
Stéphane Glondu
glondu at moszumanska.debian.org
Fri Mar 27 10:17:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository ppx-tools.
commit 04bae51c32b5ec997fc329f5aee40be97d5ff87d
Author: Stephane Glondu <steph at glondu.net>
Date: Fri Mar 27 10:11:40 2015 +0100
Add support for bytecode architectures
---
...01-Add-support-for-bytecode-architectures.patch | 44 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 45 insertions(+)
diff --git a/debian/patches/0001-Add-support-for-bytecode-architectures.patch b/debian/patches/0001-Add-support-for-bytecode-architectures.patch
new file mode 100644
index 0000000..6a014ed
--- /dev/null
+++ b/debian/patches/0001-Add-support-for-bytecode-architectures.patch
@@ -0,0 +1,44 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Fri, 27 Mar 2015 10:11:30 +0100
+Subject: Add support for bytecode architectures
+
+---
+ Makefile | 17 ++++++++++++-----
+ 1 file changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e166cdb..7b9727a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -14,7 +14,14 @@ COMPFLAGS = -w +A-4-17-44-45 -I +compiler-libs -safe-string
+
+ .PHONY: all
+ all: genlifter$(EXE) dumpast$(EXE) ppx_metaquot$(EXE) rewriter$(EXE) ast_mapper_class.cmo ppx_tools.cma
+-all: ppx_tools.cmxa ppx_tools.cmxs
++
++ifneq ($(ARCH),none)
++all: ppx_tools.cmxa
++endif
++
++ifeq ($(NATDYNLINK),true)
++all: ppx_tools.cmxs
++endif
+
+ genlifter$(EXE): ppx_tools.cma genlifter.cmo
+ $(OCAMLC) $(COMPFLAGS) -o genlifter$(EXE) ocamlcommon.cma ppx_tools.cma genlifter.cmo
+@@ -73,10 +80,10 @@ clean:
+
+ INSTALL = META \
+ genlifter$(EXE) dumpast$(EXE) ppx_metaquot$(EXE) rewriter$(EXE) \
+- ppx_tools.cma ppx_tools.cmxa ppx_tools$(EXT_LIB) \
+- ppx_tools.cmxs \
+- ast_convenience.cmi ast_convenience.cmx \
+- ast_mapper_class.cmi ast_mapper_class.cmx
++ ppx_tools.cma $(wildcard ppx_tools.cmxa ppx_tools$(EXT_LIB)) \
++ $(wildcard ppx_tools.cmxs) \
++ ast_convenience.cmi $(wildcard ast_convenience.cmx) \
++ ast_mapper_class.cmi $(wildcard ast_mapper_class.cmx)
+
+ .PHONY: install
+ install:
+--
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..af31982
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-support-for-bytecode-architectures.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ppx-tools.git
More information about the Pkg-ocaml-maint-commits
mailing list