[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#792281: texlive-latex-base: not Multi-Arch: foreign



Hi

(just short from the Jazz festival ...)

yes, there is /usr/include/<triple>/

great, thanks. Should that part (in fact only c-auto.h) go into the lib package (libkpathsea6) and thus keep the -dev package M-A: foreign, or can I put that  header file into the -dev package and do M-A: same? Or are there other options?

Thanks

Norbert



------------------------------------------------------------------------
PREINING, Norbert                              http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

On Sep 20, 2015, at 2:24 PM, Johannes Schauer <josch@debian.org> wrote:

Hi Norbert,

Quoting Norbert Preining (2015-09-20 04:20:34)
On Sun, 20 Sep 2015, Norbert Preining wrote:
/* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 8
+#define SIZEOF_LONG 4

Concerning this:
Is there a place to install *arch* dependent header files?


To explain the situation: The normal texlive installation puts
the one changing file
       c-auto.h
into
       usr/lib/kpathsea/c-auto.h
(not the "lib" part!)

It seems to be the only file that differs.

But in my rules file I have:
       # we don't support this kind of arch-separation by now
       mv debian/tmp/usr/lib/kpathsea/c-auto.h debian/tmp/usr/include/kpathsea/

so you could do:

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
mv debian/tmp/usr/lib/kpathsea/c-auto.h debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/kpathsea/

/usr/include/<triplet>/ is already part of the default gcc search path, so
tools should automatically pick up that header from there.

cheers, josch

Reply to: