[MDEV-5076] MariaDB uses hardcoded ${LOCALBASE} for libexecinfo Created: 2013-09-27 Updated: 2014-06-20 Resolved: 2013-09-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.33a |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexandr Kovalenko | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
FreeBSD any version |
||
| Description |
|
MariaDB uses hardcoded path for searching libexecinfo library (needed for backtrace() function) in cmake/os/FreeBSD.cmake: INCLUDE_DIRECTORIES(/usr/local/include) :/usr/local/lib") The problem is that despite the fact that "/usr/local" is default for LOCALBASE in FreeBSD, it could be changed and should be supported by port, which I maintain. My proposition is to add EXECINFO_ROOT, which will default to "/usr/local", but could be overridden with -DEXECINFO_ROOT during configure stage. |