Diff crosstool-ng-1.26.0-r1 with a crosstool-ng-9999
/usr/portage/sys-devel/crosstool-ng/crosstool-ng-9999.ebuild 2024-12-25 14:59:52.795270183 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
if [[ ${PV} == 9999 ]] ; then |
13 | 13 |
EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git" |
14 |
inherit git-r3 |
|
14 |
inherit autotools git-r3 |
|
15 | 15 |
else |
16 | 16 |
SRC_URI=" |
17 | 17 |
https://github.com/crosstool-ng/crosstool-ng/releases/download/${PN}-${PV/_rc/-rc}/${P}.tar.xz |
... | ... | |
56 | 56 |
${BDEPEND} |
57 | 57 |
" |
58 | 58 | |
59 |
src_prepare() { |
|
60 |
if [[ ${PV} == 9999 ]]; then |
|
61 |
# Some data files must be generated before autoreconf, and the logic |
|
62 |
# is non-trivial, so the upstream bootstrap script must be used. |
|
63 |
# In addition, eautoreconf mis-detects the project to make use of |
|
64 |
# gettext while it actually isn't, so just rely on the invocation of |
|
65 |
# autoreconf for us in the bootstrap script. |
|
66 |
./bootstrap || die "bootstrap failed" |
|
67 |
fi |
|
68 | ||
69 |
default |
|
70 |
} |
|
71 | ||
59 | 72 |
src_configure() { |
60 | 73 |
# Needs bison+flex |
61 | 74 |
unset YACC LEX |