Diff automake-1.16.5-r1 with a automake-9999
/usr/portage/sys-devel/automake/automake-9999.ebuild 2023-10-09 14:52:35.472368501 +0300 | ||
---|---|---|
15 | 15 |
MY_P="${P}" |
16 | 16 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz |
17 | 17 |
https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz" |
18 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
18 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
19 | 19 |
else |
20 | 20 |
MY_PV="$(ver_cut 1).$(($(ver_cut 2)-1))b" |
21 | 21 |
MY_P="${PN}-${MY_PV}" |
... | ... | |
52 | 52 |
) |
53 | 53 |
" |
54 | 54 | |
55 |
PATCHES=( |
|
56 |
"${FILESDIR}"/automake-1.16.2-py3-compile.patch |
|
57 |
"${FILESDIR}"/automake-1.16.2-fix-instmany-python.sh-test.patch |
|
58 |
"${FILESDIR}"/automake-1.16.2-fix-py-compile-basedir.sh-test.patch |
|
59 |
) |
|
60 | ||
61 | 55 |
pkg_setup() { |
62 | 56 |
# Avoid python-any-r1_pkg_setup |
63 | 57 |
: |
... | ... | |
81 | 75 |
src_configure() { |
82 | 76 |
use test && python_setup |
83 | 77 |
# Also used in install. |
84 |
MY_INFODIR="${EPREFIX}/usr/share/automake-${PV}/info" |
|
85 |
econf --infodir="${MY_INFODIR}" |
|
78 |
infopath="${EPREFIX}/usr/share/automake-${PV}/info" |
|
79 |
econf --infodir="${infopath}" |
|
86 | 80 |
} |
87 | 81 | |
88 | 82 |
src_install() { |
... | ... | |
108 | 102 |
gunzip "${tarfile}" || die |
109 | 103 |
fi |
110 | 104 | |
111 |
pushd "${D}/${MY_INFODIR}" >/dev/null || die |
|
105 |
pushd "${D}/${infopath}" >/dev/null || die |
|
112 | 106 |
for f in *.info*; do |
113 | 107 |
# Install convenience aliases for versioned Automake pages. |
114 | 108 |
ln -s "$f" "${f/./-${PV}.}" || die |
... | ... | |
119 | 113 |
local minor="$(ver_cut 2)" |
120 | 114 |
local idx="$((99999-(major*1000+minor)))" |
121 | 115 |
newenvd - "06automake${idx}" <<-EOF |
122 |
INFOPATH="${MY_INFODIR}" |
|
116 |
INFOPATH="${infopath}" |
|
123 | 117 |
EOF |
124 | 118 |
} |