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

Re: Mpich 1/2/3



Anton Gladky <gladk@debian.org> writes:
> 2013/7/4 Torquil Macdonald Sørensen <torquil@gmail.com>:
>> However, I have a question concerning multiarch and update-alternatives:
>>
>> In libmpich-dev.postinst, update-alternatives requires the library file
>> paths as arguments. These paths include DEB_HOST_MULTIARCH, so the command
>> dpkg-architecture is needed. So it seems that libmpich-dev must depend on
>> dpkg-dev to solve this problem? Is this acceptable, or is there some another
>> solution?
>
> I had never yet such situation. But I think it is OK to add dpkg-dev into
> Depends-section if it is necessary.

You can determine the architecture at build time and generate a postinst
using this information. Binary packages shouldn't have to use
dpkg-architecture.

Ansgar


Reply to: