Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 492994 | Differences between
and this patch

Collapse All | Expand All

(-)kbuild-0.1.9998_pre20131130.ebuild.orig (-3 / +4 lines)
Lines 7-12 Link Here
7
inherit eutils autotools toolchain-funcs
7
inherit eutils autotools toolchain-funcs
8
8
9
MY_P=kBuild-${PV/_/-}-src
9
MY_P=kBuild-${PV/_/-}-src
10
MY_ARCH="${ARCH/-*}"
10
DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
11
DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
11
HOMEPAGE="http://svn.netlabs.org/kbuild/wiki"
12
HOMEPAGE="http://svn.netlabs.org/kbuild/wiki"
12
#SRC_URI="ftp://ftp.netlabs.org/pub/${PN}/${MY_P}.tar.gz"
13
#SRC_URI="ftp://ftp.netlabs.org/pub/${PN}/${MY_P}.tar.gz"
Lines 14-20 Link Here
14
15
15
LICENSE="GPL-3"
16
LICENSE="GPL-3"
16
SLOT="0"
17
SLOT="0"
17
KEYWORDS="~amd64 ~x86"
18
KEYWORDS="~amd64 ~x86 ~amd64-fbsd"
18
IUSE=""
19
IUSE=""
19
20
20
DEPEND="sys-devel/flex
21
DEPEND="sys-devel/flex
Lines 42-54 Link Here
42
	sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
43
	sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
43
	eautoreconf
44
	eautoreconf
44
45
45
	sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
46
	sed -e "s@_LDFLAGS\.${MY_ARCH}*.*=@& ${LDFLAGS}@g" \
46
		-i "${S}"/Config.kmk || die #332225
47
		-i "${S}"/Config.kmk || die #332225
47
	tc-export CC RANLIB #AR does not work here
48
	tc-export CC RANLIB #AR does not work here
48
}
49
}
49
50
50
src_compile() {
51
src_compile() {
51
	kBuild/env.sh --full make -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
52
	kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
52
		|| die "bootstrap failed"
53
		|| die "bootstrap failed"
53
}
54
}
54
55

Return to bug 492994