Created attachment 371868 [details] jemalloc-3.4.0-r1.ebuild Please update dev-libs/jemalloc to multilib. Attached is my attempt at a multilib ebuild
(In reply to Brian Evans from comment #0) > Created attachment 371868 [details] > jemalloc-3.4.0-r1.ebuild > > Please update dev-libs/jemalloc to multilib. > > Attached is my attempt at a multilib ebuild Please provide diffs. They speed up your bug being resolved.
Here is the diff. --- jemalloc-3.4.0.ebuild 2013-09-24 18:51:43.000000000 -0400 +++ jemalloc-3.4.0-r1.ebuild 2014-03-06 09:36:13.650701603 -0500 @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-3.4.0.ebuild,v 1.1 2013/09/24 22:51:43 anarchy Exp $ +# $Header: $ -EAPI=4 +EAPI=5 -inherit autotools eutils +inherit autotools-multilib eutils DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" HOMEPAGE="http://www.canonware.com/jemalloc/" @@ -15,25 +15,24 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~x64-macos" IUSE="debug static-libs stats" -src_prepare() { - epatch \ - "${FILESDIR}/${PN}-3.0.0-strip-optimization.patch" \ - "${FILESDIR}/${PN}-3.0.0-no-pprof.patch" \ - "${FILESDIR}/${PN}-3.0.0_fix_html_install.patch" \ - "${FILESDIR}/${PN}-fix-ar-call.patch" - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable stats) -} +HTML_DOCS=( doc/jemalloc.html ) +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-strip-optimization.patch" + "${FILESDIR}/${PN}-3.0.0-no-pprof.patch" + "${FILESDIR}/${PN}-3.0.0_fix_html_install.patch" + "${FILESDIR}/${PN}-fix-ar-call.patch" +) +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc_defs.h ) +# Silence warning from enable/disable shared/static added by autotools-utils_src_configure +QA_CONFIGURE_OPTIONS=".*shared .*static" + +myeconfargs=( + $(use_enable debug) + $(use_enable stats) +) src_install() { - default - dohtml doc/jemalloc.html + autotools-multilib_src_install if [[ ${CHOST} == *-darwin* ]] ; then # fixup install_name, #437362
+*jemalloc-3.5.1-r1 (10 Mar 2014) + + 10 Mar 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org> + +jemalloc-3.5.1-r1.ebuild: + added multilib-build version (bug 503628), thanks to grknight +