Remove dependency to gcc-4.2 on arm
authorStephane Glondu <steph@glondu.net>
Mon, 3 Nov 2008 22:11:29 +0000 (23:11 +0100)
committerStephane Glondu <steph@glondu.net>
Mon, 3 Nov 2008 22:11:29 +0000 (23:11 +0100)
debian/changelog
debian/control
debian/rules

index 9239f7d34163f5da2fbfffaf0db313a3e6fdafd1..aa15bf0210e6639a2be3e7cf4989d86f755b4132 100644 (file)
@@ -6,6 +6,7 @@ ocaml (3.11.0~beta1-1) UNRELEASED; urgency=low
     - not-native-no-aspp.dpatch removed (thanks to upstream bugfix)
     - all other patches updated
     - manpages.dpatch and ocamldoc.dpatch added
+    - dependency to gcc-4.2 on arm removed
   * Switching packaging to git (from svn)
   * Bump debhelper compatibility level to 7, and use debian/clean feature
     of dh_clean
@@ -22,7 +23,7 @@ ocaml (3.11.0~beta1-1) UNRELEASED; urgency=low
     - ocaml-md5sums (therefore also disable its usage at the end of the
       build process)
 
- -- Stephane Glondu <steph@glondu.net>  Sun, 02 Nov 2008 12:56:34 +0100
+ -- Stephane Glondu <steph@glondu.net>  Mon, 03 Nov 2008 23:10:06 +0100
 
 ocaml (3.10.2-3) unstable; urgency=low
 
index f69cb009ba71c1f000b955acf1f926dbed5826e1..e17377cde8618813cc8b36e0638ec20a53e46b8e 100644 (file)
@@ -10,7 +10,7 @@ Uploaders:
  Sylvain Le Gall <gildor@debian.org>,
  Ralf Treinen <treinen@debian.org>,
  Stephane Glondu <steph@glondu.net>
-Build-Depends: debhelper (>= 7), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2, docbook-xml, docbook-utils, gcc-4.2 [arm]
+Build-Depends: debhelper (>= 7), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2, docbook-xml, docbook-utils
 Standards-Version: 3.8.0
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml.git
@@ -18,7 +18,7 @@ Homepage: http://caml.inria.fr/
 
 Package: ocaml-nox
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libncurses5-dev, ocaml-base-nox (=${binary:Version}), ocaml-interp (=${binary:Version}), gcc [!arm], gcc-4.2 [arm], binutils
+Depends: ${shlibs:Depends}, ${misc:Depends}, libncurses5-dev, ocaml-base-nox (=${binary:Version}), ocaml-interp (=${binary:Version}), gcc, binutils
 Suggests: ocaml-doc, libgdbm-dev, tuareg-mode | ocaml-mode
 Recommends: camlp4, ledit, file
 Provides: ocaml-nox-${F:OCamlABI}, ${F:BestProvides}, libnums-ocaml-dev
@@ -144,7 +144,7 @@ Description: Runtime system for OCaml bytecode executables
 
 Package: ocaml-native-compilers
 Architecture: amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc
-Depends: ocaml-nox (= ${binary:Version}), gcc [!arm], gcc-4.2 [arm], binutils, ${shlibs:Depends}, ${misc:Depends}
+Depends: ocaml-nox (= ${binary:Version}), gcc, binutils, ${shlibs:Depends}, ${misc:Depends}
 Provides: ocaml-best-compilers
 Replaces: ocaml-nox (<= 3.09.2-3)
 Description: Native code compilers of the OCaml suite (the .opt ones)
index 58dfded921601d239ac48a46841e49b5db16e28a..37aa1ec35df0d7b1c617757316a9a72f7953dca9 100755 (executable)
@@ -35,9 +35,6 @@ endif
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        INSTALL_PROGRAM += -s
 endif
-ifeq (arm,$(DEB_BUILD_ARCH))
-CFG_CC_FLAGS = -cc gcc-4.2
-endif
 
 abi-sed:
        for t in `find debian/ -name \*.in | grep -v debian/control.in`; do \
@@ -74,7 +71,7 @@ debian/$(SRCTARBALL):
 
 config-stamp: pre-config patch-stamp abi-sed
        dh_testdir
-       ./configure --with-pthread -prefix /usr $(CFG_CC_FLAGS)         \
+       ./configure --with-pthread -prefix /usr                         \
                -libdir /usr/lib/ocaml/$(OCAMLABI)                      \
                -mandir /usr/share/man                                  \
                -tkdefs "-I/usr/include/tcl8.4"                         \