Diff autoconf-wrapper-20221207 with a autoconf-wrapper-20221207-r1
/usr/portage/sys-devel/autoconf-wrapper/autoconf-wrapper-20221207-r1.ebuild 2023-10-09 14:52:35.472368501 +0300 | ||
---|---|---|
24 | 24 |
LICENSE="GPL-2" |
25 | 25 |
SLOT="0" |
26 | 26 | |
27 |
src_prepare() { |
|
28 |
default |
|
29 | ||
30 |
# usr/bin/aclocal: bad substitution -> /bin/sh != POSIX shell |
|
31 |
if use prefix ; then |
|
32 |
sed -i -e '1c\#!'"${EPREFIX}"'/bin/sh' ac-wrapper.sh || die |
|
33 |
fi |
|
34 |
} |
|
35 | ||
27 | 36 |
src_install() { |
28 | 37 |
exeinto /usr/$(get_libdir)/misc |
29 |
newexe ac-wrapper.sh ac-wrapper.sh |
|
38 |
doexe ac-wrapper.sh |
|
30 | 39 | |
31 | 40 |
dodir /usr/bin |
32 | 41 |
local x= |
33 | 42 |
for x in auto{conf,header,m4te,reconf,scan,update} ifnames ; do |
34 |
dosym ../$(get_libdir)/misc/ac-wrapper.sh /usr/bin/${x} |
|
43 |
dosym -r /usr/$(get_libdir)/misc/ac-wrapper.sh /usr/bin/${x} |
|
35 | 44 |
done |
36 | 45 |
} |