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

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

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?

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

> 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

Attachment: signature.asc
Description: signature

Reply to: