Summary: | sci-geosciences/grass-6.4.0_rc5[mysql] should provide IUSE=embedded to configure use of libmysqld | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | Current packages | Assignee: | Steve Arnold <nerdboy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-geosciences |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 306315 | ||
Bug Blocks: | |||
Attachments: | Introduce embedded USE flag to grass-6.4.0_rc5.ebuild |
Description
Martin von Gagern
2010-02-22 10:04:13 UTC
Created attachment 220993 [details, diff]
Introduce embedded USE flag to grass-6.4.0_rc5.ebuild
This patch adds an embedded USE flag. If it is enabled, mysql has to be built with embedded support as well, and furthermore mysql has to be a version before 5.1. An unset embedded use flag results in MYSQLDLIB= being passed to make in src_compile, which prevents building the mysql embedded driver.
In cases like this I wonder whether the "embedded" use flag should in general be renamed to something like "embedmysql" or "mysqld" or similar, as the meaning of "embedded" for packages other than mysql itself is far from obvious. Different issue, though, and should be changed consistently if at all.
I changed it in rc6 to always require non embedded driver. I guess it should be enough since most people dont want to use embedded one. Please open new feature request or reopen this bug if you think otherwise. |