On 15:38 Wed 31 Oct , Raul Porcel (armin76) wrote: > 1.1 net-p2p/deluge/deluge-0.5.6.2.ebuild > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&content-type=text/plain
> pkg_setup() { > if has_version "<dev-libs/boost-1.34" && \ > ! built_with_use "dev-libs/boost" threads; then > eerror "dev-libs/boost has to be built with threads USE-flag." > die "Missing threads USE-flag for dev-libs/boost" > fi > } > > src_compile() { > filter-ldflags -Wl,--as-needed > > distutils_src_compile > } If you moved the filter-ldflags() call up to pkg_setup(), you could drop src_compile() altogether to clean up the ebuild a little. Thanks, Donnie -- [EMAIL PROTECTED] mailing list