[dev-games/bncsutil] convert to autotools-multilib since gmp in tree is multilib-aware now, cleanup
This commit is contained in:
parent
773c62801a
commit
bea7edb527
@ -4,7 +4,9 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools-utils eutils
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="The Battle.net client library"
|
||||
HOMEPAGE="http://code.google.com/p/bncsutil"
|
||||
@ -17,23 +19,10 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="dev-libs/gmp[static-libs?]"
|
||||
DEPEND="dev-libs/gmp[static-libs?,${MULTILIB_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-werror.patch"
|
||||
epatch "${FILESDIR}/${PN}-ghost.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static) )
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
prune_libtool_files
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-werror.patch"
|
||||
"${FILESDIR}/${PN}-ghost.patch"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user