[Pkg-ocaml-maint-commits] r3573 - in
/trunk/packages/coq/branches/8.1/debian: changelog patches/00list
patches/cmxa-install.dpatch
smimram at users.alioth.debian.org
smimram at users.alioth.debian.org
Sun Feb 18 13:29:49 CET 2007
Author: smimram
Date: Sun Feb 18 13:29:49 2007
New Revision: 3573
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3573
Log:
Install cmxa only on native archs.
Added:
trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch (with props)
Modified:
trunk/packages/coq/branches/8.1/debian/changelog
trunk/packages/coq/branches/8.1/debian/patches/00list
Modified: trunk/packages/coq/branches/8.1/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/coq/branches/8.1/debian/changelog?rev=3573&op=diff
==============================================================================
--- trunk/packages/coq/branches/8.1/debian/changelog (original)
+++ trunk/packages/coq/branches/8.1/debian/changelog Sun Feb 18 13:29:49 2007
@@ -1,9 +1,10 @@
coq (8.1+dfsg-2) UNRELEASED; urgency=low
+ * Added cmxa-install.dpatch to install cmxa only on native archs.
* Added configure.dpatch for the configure to correctly detect whether
ocamlopt is present or not.
- -- Samuel Mimram <smimram at debian.org> Thu, 15 Feb 2007 13:00:45 +0000
+ -- Samuel Mimram <smimram at debian.org> Sun, 18 Feb 2007 13:28:11 +0100
coq (8.1+dfsg-1) experimental; urgency=low
Modified: trunk/packages/coq/branches/8.1/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/coq/branches/8.1/debian/patches/00list?rev=3573&op=diff
==============================================================================
--- trunk/packages/coq/branches/8.1/debian/patches/00list (original)
+++ trunk/packages/coq/branches/8.1/debian/patches/00list Sun Feb 18 13:29:49 2007
@@ -3,3 +3,4 @@
makefile
no-complexity-test
configure
+cmxa-install
Added: trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch?rev=3573&op=file
==============================================================================
--- trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch (added)
+++ trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch Sun Feb 18 13:29:49 2007
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## cmxa-install.dpatch by Samuel Mimram <smimram at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: .cmxa are not generated on non-native archs, so don't install them.
+
+ at DPATCH@
+diff -urNad coq-8.1+dfsg~/Makefile coq-8.1+dfsg/Makefile
+--- coq-8.1+dfsg~/Makefile 2007-02-18 13:25:29.000000000 +0100
++++ coq-8.1+dfsg/Makefile 2007-02-18 13:27:28.000000000 +0100
+@@ -1272,7 +1272,11 @@
+ parsing/parsing.cma tactics/tactics.cma toplevel/toplevel.cma \
+ parsing/highparsing.cma tactics/hightactics.cma contrib/contrib.cma
+
+-OBJECTCMXA=$(OBJECTCMA:.cma=.cmxa)
++ifeq ($(BEST),opt)
++ OBJECTCMXA=$(OBJECTCMA:.cma=.cmxa)
++else
++ OBJECTCMXA=
++endif
+
+ install-library:
+ $(MKDIR) $(FULLCOQLIB)
Propchange: trunk/packages/coq/branches/8.1/debian/patches/cmxa-install.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-ocaml-maint-commits
mailing list