Created attachment 400366 [details] net-libs/libndp-1.4.ebuild with multilib support I'm not sure if I'm doing this right, since this is my first time messing around with the new multilib-related stuff: I'd like to be able to build "/usr/lib32/libndp.so". After reading a bit about the new multilib eclasses, I think I've come up with the right way to do this: the diff is very small, and it builds both 32-bit and 64-bit libraries for me. --- libndp-1.4.ebuild 2015-04-01 23:23:31.075247204 -0700 +++ /usr/portage/net-libs/libndp/libndp-1.4.ebuild 2015-03-15 05:01:15.000000000 -0700 @@ -5,7 +5,7 @@ EAPI=5 GCONF_DEBUG="no" -inherit gnome2 autotools-multilib +inherit gnome2 DESCRIPTION="Library for Neighbor Discovery Protocol" HOMEPAGE="http://libndp.org" @@ -20,8 +20,7 @@ DEPEND="" RDEPEND="${DEPEND}" -multilib_src_configure() { - ECONF_SOURCE="${S}" \ +src_configure() { gnome2_src_configure \ --disable-static \ --enable-logging I've also attached the full modified ebuild, in case that's easier to read.
Maybe multilib-minimal eclass would be better than autotools-multilib for this case :/
Created attachment 400774 [details] net-libs/libndp-1.4.ebuild with multilib support (using multilib-minimal) You're correct -- just replacing "autotools-multilib" with "mutlilib-minimal" was the only changed I needed to make. I've attached a new version of the ebuild.
*** Bug 548140 has been marked as a duplicate of this bug. ***
+*libndp-1.5 (07 Jun 2015) + + 07 Jun 2015; Pacho Ramos <pacho@gentoo.org> +libndp-1.5.ebuild: + Version bump, add multilib support (#545284 by Palmer Dabbelt) +