mpir icon indicating copy to clipboard operation
mpir copied to clipboard

generate and install pkg-config file (mpir.pc)

Open GitMensch opened this issue 4 years ago • 2 comments

This was added to GMP 6.2 and something similar would be useful to have in MPIR, too. For the changes related to this see https://gmplib.org/repo/gmp-6.2/log?rev=pkg , you should be able to install this with a name change from gmp->mpir (ideally installing a copy as gmp.pc if --enable-gmp-compat is active).

GitMensch avatar Jun 11 '20 13:06 GitMensch

probably mpir-gmp.pc would be more appropriate for the compat case.

dimpase avatar Oct 11 '20 10:10 dimpase

probably mpir-gmp.pc would be more appropriate for the compat case.

I've thought about that but I think gmp-compat should use gmp.pc - because it installs the libraries and headers with the same name and is explicit done as GMP drop-in - and packages looking for gmp would not check mpir-gmp. Either you want both, then you'll have "pure" GMP and MPIR next to another with different names or you want "gmp interface, no matter how", in this case (and only in this one) you'd use MPIR with gmp-compat.

GitMensch avatar Oct 13 '20 20:10 GitMensch