Summary: | sci-mathematics/glpk-4.29 with USE=iodbc wants libiodbc but does not get the .h files from the right place | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ferris McCormick (RETIRED) <fmccor> |
Component: | New packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bicatali, robbat2 |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | glpk-4.29.ebuild.patch |
Description
Ferris McCormick (RETIRED)
![]() Hi Ferris, Good you caught this one. I personally never used odbc. If I understand from wikipedia, libiodbc and unixODBC provide the same. If this is the case the dependency could be || too, add an append-cppflags $(pkg-config --cflags libiodbc), only in libodbc case, and probably the flag to odbc. Anyone has an idea why it's not a virtual? Yes, if I add inherit flag-o-matic to the ebuild then put use iodbc && append-cppflags $(pkg-config --cflags libiodbc) inside the database check, thus: if use mysql || use iodbc; then myconf="--enable-dl" use iodbc && append-cppflags $(pkg-config --cflags libiodbc) fi everything works fine. Created attachment 161201 [details]
glpk-4.29.ebuild.patch
I would add something like this instead: either unixODBC or libiodbc.
That works, no matter which odbc is installed. Ok, fixed in cvs. Thanks. |