| Summary: | mail-mta/postfix with cdb use flag prefers installing dev-db/cbd over dev-db/tinycdb | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eray Aslan <eras> |
| Component: | New packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
| Status: | VERIFIED WONTFIX | ||
| Severity: | enhancement | ||
| Priority: | Lowest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(In reply to comment #0) > ebuild prefers compiling with tinycdb (and I agree): The above should have read: postfix-2.5.1.ebuild prefers compiling with tinycdb (and I agree): tinycdb isn't tested or even keyworded on all architectures postfix has a stable keyword on, so this is a no-go for now. Plus I don't see a need why would *need* to change this as the now current behaviour is working for $years. WONTFIXing this one. (In reply to comment #2) > Plus I don't see a need why > would *need* to change this as the now current behaviour is working for $years. I don't think this is a valid reason > tinycdb isn't tested or even keyworded on all architectures postfix has a > stable keyword on, so this is a no-go for now. but this one is. Closing the bug. Thanks for looking into it. |
ebuild prefers compiling with tinycdb (and I agree): if use cdb ; then mycc="${mycc} -DHAS_CDB" CDB_LIBS="" # Tinycdb is preferred. if has_version dev-db/tinycdb ; then einfo "Building with dev-db/tinycdb" CDB_LIBS="-lcdb" else einfo "Building with dev-db/cdb" CDB_PATH="/usr/$(get_libdir)" for i in cdb.a alloc.a buffer.a unix.a byte.a ; do CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}" done fi But if neither cdb or tinycdb is installed, the ebuild will pull in cdb as a dependency instead of tinycdb. Changing DEPEND to: cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) ) will make tinycdb preferred over cdb. Reproducible: Always