Hi,
I have been building wine RPMs for some time now.
The way I do is to specify the correct paths to ./configure script (like prefix, mandir, bindir, ...).
After building I have to use an ugly make install in orther to install it into another dir that is different from the one.
However, talking to some wine developers on #winehq in openprojects network. They state that a ./configure --prefix=<you buildroot>/prefix
was enough. That's because wine does not hardcode any %prefix related path. This would simplify a lot the process.
However I just checked that wine does hardcode the %prefix dir in the binaries.
This is done in dlls/ntdll/ntdll.dll.so and possible at miscemu/wine .
AFAIU, this is done to keep the path to the global registries which is the Right Thing to do.
So what I really would like to know is which way is the right way to install wine in a dir different than %prefix or /usr/local (default %prefix)?
Is there any chance to get a DESTDIR implemented in the Makefiles?
[]'s Raul Dias