-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/29/2012 05:09 PM, justin wrote: > > Not exactly. The user can choose for each package newly by > eselecting the wanted implementation. This is the user side. From > the pm side we ensure that the choice is really respected by > linking against package specific names [1] instead of the generic > ones e.g. libblas.so. And this can be achieved in an easy way by > using pkg-config. > > justin > > 1) # eselect blas set atlas-threads # pkg-config --libs blas > -lptf77blas -lm -latlas -lpthread > > # eselect blas set reference # pkg-config --libs blas -lrefblas > >
My opinion is less strong if you do this only on package level without creating such an eclass and in the way mgorny pointed out with a comment that this is gentoo-specific. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQt40EAAoJEFpvPKfnPDWzZgoH/2Mes+9TPYRCaCm65z+bLUep l0K4DspA8J71ixRxWwkZmwkpasezd7nB0jLiiOSMsy6MOzot5QXr7MyEHtjW/b9G /1Yk880T8bIDq4ryb19PWhiW90pOYGmdvaEbp5mgvmUSoPAiX24tqNmF/gdhuPaZ DfHVRub+0Mp5LvCHj2xNku5AZOZ5MqkJh2kLmMR0plWF1Z2FW0jtqS1ak3pY6hI8 O8bY1J9Gaym1TF7tcTnsoRz3qb3lRXfZMSPEAaQOpzIa1FhurroVZFNyD8afZlsH S6xRkIn413v969+SAZ9waVoomTnzKgajWvqessddROb6GVD7mBk/Y+EOD9qxlhA= =Sfio -----END PGP SIGNATURE-----