1 |
Well, I've glossed over the dlopen() issues for now as I'm not sure the |
2 |
best way to handle that or even if it needs to be addressed. How often |
3 |
does something dlopen() a file if it doesn't know the exact filename at |
4 |
compile time? It seems unlikely to me that this kind of dependency |
5 |
would be introduced which wouldn't be uniquely satisfied by the RDEPEND. |
6 |
Does anyone know of a case where we'd do something like: |
7 |
|
8 |
#define LIBPNG_SONAME libpng.so.3 /* set by configure */ |
9 |
dlopen(LIBPNG_SONAME) |
10 |
|
11 |
|
12 |
In any event, here's a patch to portage which creates the |
13 |
soname.{PROVIDE,DEPEND} files as well as a small script to create them |
14 |
where missing. |
15 |
|
16 |
Please comment. |
17 |
|
18 |
Thanks, |
19 |
Jeremy |