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

Re: [PATCH] Add new variables, DEB_HOST_MULTIARCH and DEB_BUILD_MULTIARCH



Steve Langasek wrote:

> Add new variables that return the "ideal" GNU triplet for each architecture
> which should be used as the path component for library installation.

Neat!  I like it (FWIW I think multiarch tuples are about as good for
this purpose, too).

> +++ b/scripts/Dpkg/Arch.pm
[...]
> @@ -195,6 +200,25 @@ sub read_triplettable()
>      close TRIPLETTABLE;
>  }
>  
> +sub read_multiarchtable()
> +{
> +    local $_;
> +    local $/ = "\n";
> +
> +    open MULTIARCHTABLE, "$pkgdatadir/multiarchtable"
> +	or syserr(_g("cannot open %s"), "multiarchtable");

Where does this file come from?


Reply to: