Lines 41-54
Link Here
|
41 |
# AM_CONFIG_HEADER is obsolete since automake-1.13 (bug #467104) |
41 |
# AM_CONFIG_HEADER is obsolete since automake-1.13 (bug #467104) |
42 |
sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die |
42 |
sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die |
43 |
eautoreconf |
43 |
eautoreconf |
44 |
|
44 |
sed -e "s@_LDFLAGS\.$(tc-arch)*.*=@& ${LDFLAGS}@g" \ |
45 |
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \ |
|
|
46 |
-i "${S}"/Config.kmk || die #332225 |
45 |
-i "${S}"/Config.kmk || die #332225 |
47 |
tc-export CC RANLIB #AR does not work here |
46 |
tc-export CC RANLIB #AR does not work here |
48 |
} |
47 |
} |
49 |
|
48 |
|
50 |
src_compile() { |
49 |
src_compile() { |
51 |
kBuild/env.sh --full make -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \ |
50 |
kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \ |
52 |
|| die "bootstrap failed" |
51 |
|| die "bootstrap failed" |
53 |
} |
52 |
} |
54 |
|
53 |
|