dev-util/kbuild: add ~amd64-fbsd, ~x86-fbsd KEYWORDS.

Gentoo-Bug: https://bugs.gentoo.org/492994
Closes: https://github.com/gentoo/gentoo/pull/2719

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Yuta Satoh
2016-11-02 20:49:08 +09:00
committed by Patrice Clement
parent 9870adfe98
commit 121ff2a18a

View File

@@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~polynomial-c/${MY_P}.tar.xz
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="sys-apps/texinfo
@@ -51,13 +51,13 @@ src_prepare() {
sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
eautoreconf
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
sed -e "s@_LDFLAGS\.$(tc-arch)*.*=@& ${LDFLAGS}@g" \
-i "${S}"/Config.kmk || die #332225
tc-export CC RANLIB #AR does not work here
}
src_compile() {
kBuild/env.sh --full make -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
|| die "bootstrap failed"
}