Hey all,
Follow-on patch to handle the Multi-Arch fields to debian/control when
with_multiarch_lib is set in the makefiles.
Also pushed to the bzr repo:
https://code.launchpad.net/~vorlon/gcc/multiarch-packaging/
Matthias, please let me know if there's some other way you would like this
submitted for inclusion in the Debian package.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/changelog'
--- debian/changelog 2010-07-28 00:57:36 +
+++ debian/changelog 2010-08-05 05:32:19 +
@@ -22,6 +22,8 @@
our biarch (multilib) builds need to remain independent of multiarch in
the near term, so we want to make sure we can find /usr/lib32 without
/usr/lib/i486-linux-gnu being available.
+ * debian/control.m4, debian/rules.conf: conditionally set packages to be
+Multi-Arch: yes when MULTIARCH is defined.
-- Matthias Klose Fri, 23 Jul 2010 10:12:45 +0200
=== modified file 'debian/control.m4'
--- debian/control.m4 2010-07-23 09:37:30 +
+++ debian/control.m4 2010-08-05 05:32:19 +
@@ -103,6 +103,8 @@
Package: gcc`'PV-base
Architecture: any
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
Section: libs
Priority: PRI(required)
Depends: ${misc:Depends}
@@ -166,7 +168,8 @@
Priority: ifdef(`TARGET',`extra',required)
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
ifdef(`TARGET',`Provides: libgcc1-TARGET-dcv1
-',`')`'dnl
+',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `')
Shared version of the support library, a library of internal subroutines
that GCC uses to overcome shortcomings of particular machines, or
@@ -182,6 +185,8 @@
Section: debug
Priority: extra
Depends: BASEDEP, libgcc1`'LS (= ${gcc:EpochVersion}), ${misc:Depends}
+ifdef(`TARGET',`',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Description: GCC support library (debug symbols)`'ifdef(`TARGET)',` (TARGET)', `')
Debug symbols for the GCC support library.
ifdef(`TARGET', `dnl
@@ -196,7 +201,8 @@
Priority: ifdef(`TARGET',`extra',required)
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
ifdef(`TARGET',`Provides: libgcc2-TARGET-dcv1
-',`')`'dnl
+',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `')
Shared version of the support library, a library of internal subroutines
that GCC uses to overcome shortcomings of particular machines, or
@@ -212,6 +218,8 @@
Section: debug
Priority: extra
Depends: BASEDEP, libgcc2`'LS (= ${gcc:Version}), ${misc:Depends}
+ifdef(`TARGET',`',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Description: GCC support library (debug symbols)`'ifdef(`TARGET)',` (TARGET)', `')
Debug symbols for the GCC support library.
ifdef(`TARGET', `dnl
@@ -369,6 +377,8 @@
ifenabled(`libgmath',`
Package: libgccmath`'GCCMATH_SO
Architecture: i386
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
Section: libs
Priority: PRI(optional)
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
@@ -560,6 +570,8 @@
ifenabled(`libmudf',`
Package: libmudflap`'MF_SO`'LS
Architecture: any
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
Section: libs
Priority: PRI(optional)
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
@@ -569,6 +581,8 @@
Package: libmudflap`'MF_SO-dbg`'LS
Architecture: ifdef(`TARGET',`all',`any')
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
Section: debug
Priority: extra
Depends: BASEDEP, libmudflap`'MF_SO`'LS (= ${gcc:Version}), ${misc:Depends}
@@ -653,6 +667,8 @@
ifenabled(`ssp',`
Package: libssp`'SSP_SO
Architecture: any
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
Section: libs
Priority: PRI(optional)
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
@@ -701,6 +717,8 @@
Package: libgomp`'GOMP_SO`'LS
Section: ifdef(`TARGET',`devel',`libs')
Architecture: ifdef(`TARGET',`all',`any')
+ifdef(`TARGET',`',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Priority: ifdef(`TARGET',`extra',`PRI(optional)')
Depends: BASEDEP, ${shlibs:Depends}, ${misc:Depends}
Description: GCC OpenMP (GOMP) support library
@@ -712,6 +730,8 @@
Section: debug
Priority: extra
Depends: BASEDEP, libgomp`'GOMP_SO`'LS (= ${gcc:Version}), ${misc:Depends}
+ifdef(`TARGET',`',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Description: GCC OpenMP (GOMP) support library (debug symbols)
GOMP is an implementation of OpenMP for the C, C++, and Fortran 95 compilers
in the GNU Compiler Collection.
@@ -859,6 +879,8 @@
Package: libobjc`'OBJC_SO`'LS
Section: ifdef(`TARGET',`devel',`libs')
Architecture: ifdef(`TARGET',`all',`any')
+ifdef(`TARGET',`',ifdef(`MULTIARCH', `Multi-Arch: same
+'))`'dnl
Priority: ifdef(`TARGET',`extra',`PRI(optional)')
Depends: BASED