Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
10.1.10
Description
The INSTALL_* variables can be absolute or relative to the prefix path. The current code only handles the case where they are relative. With the patch, the old behaviour is used as long as they are relative, but it fixes the case when they are absolute.
This is important for Exherbo since we have to use absolute paths because of our file system layout. Exherbo has /usr/share for arch-independent files and /usr/$ARCH/
{bin,include,lib,libexec}for arch-dependent files, so that files for multiple architectures can be installed in parallel.
Attachments
Issue Links
- links to
serg, please review patch for this bug. Note that it doesn't completely fix original issue, since we have special handling for STANDALONE in mysql_install_db. I don't like changing that, instead I'd suggest to create separate layout for Exherbo.
We may clean-up these *dir variables and use INSTALL_*DIRABS instead.
I'm not sure how this should work with DESTDIR trick, so I kept original behavior.
In my first patch I modified INSTALL_*DIR to store absolute path. This confused TGZ generator.