sqlite needs this ebuild fix for FreeMiNT. @@ -43,6 +43,8 @@ } src_configure() { + local myconf + # Support column metadata, bug #266651 append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA @@ -77,8 +79,11 @@ append-cppflags -DNDEBUG fi + [[ ${CHOST} == *mint* ]] && myconf="--enable-dynamic-extensions=no" + # amalgamation doesn't have tcl econf \ + ${myconf} \ $(use_enable readline) \ --with-readline-inc=-I"${EPREFIX}"/usr/include/readline \ $(use_enable threadsafe) \
dont check the CHOST. use tc-is-static-only from toolchain-funcs.eclass.
I committed this patch, maintainers, feel like applying this to the gx86 version? --- sqlite-3.6.21.ebuild (revision 55620) +++ sqlite-3.6.21.ebuild (working copy) @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils flag-o-matic multilib versionator +inherit eutils flag-o-matic multilib versionator toolchain-funcs DESCRIPTION="an SQL Database Engine in a C Library" HOMEPAGE="http://www.sqlite.org/" @@ -83,7 +83,8 @@ --with-readline-inc=-I"${EPREFIX}"/usr/include/readline \ $(use_enable threadsafe) \ $(use tcl && echo --enable-tcl) \ - $(use !tcl && use test && echo --disable-tcl) + $(use !tcl && use test && echo --disable-tcl) \ + $(tc-is-static-only && echo --enable-dynamic-extensions=no) } src_compile() {
(In reply to comment #2) > I committed this patch, maintainers, feel like applying this to the gx86 > version? > Feel free on my part.
I just committed this, but was notified afterwards by Arfrever that --enable-dynamic-extensions=no is only in the amalgamation sources, so should the condition be "use !tcl && tc-is-static-only"?
No. I've dont have USE="tcl" set
Actually, I guess it's yes. :-) as USE="tcl" isn't the default.
"extensions" USE flag has been added for bug #233994. Please package.use.mask this flag in FreeMiNT profiles.
done