Diff bacula-11.0.6-r5 with a bacula-13.0.2-r2
/usr/portage/app-backup/bacula/bacula-13.0.2-r2.ebuild 2023-10-09 14:52:28.196368317 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit desktop libtool qmake-utils systemd |
7 | 7 | |
... | ... | |
137 | 137 |
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die |
138 | 138 |
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die |
139 | 139 | |
140 |
# fix 'implicit function declaration' bug 900663 |
|
141 |
eapply -p0 "${FILESDIR}/${PN}-11.0.2-fix-config.patch" |
|
142 | ||
143 | 140 |
eapply_user |
144 | 141 | |
145 | 142 |
# Fix systemd unit files: |
... | ... | |
166 | 163 |
sed -i -e 's/ manpages//' Makefile.in || die |
167 | 164 | |
168 | 165 |
# correct installation for plugins to mode 0755 (bug #725946) |
169 |
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die |
|
166 |
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile ||die |
|
167 |
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/docker/Makefile ||die |
|
170 | 168 | |
171 | 169 |
# fix bundled libtool (bug 466696) |
172 | 170 |
# But first move directory with M4 macros out of the way. |
... | ... | |
241 | 239 |
src_install() { |
242 | 240 |
emake DESTDIR="${D}" install |
243 | 241 |
doicon scripts/bacula.png |
242 |
keepdir /var/lib/bacula/tmp |
|
244 | 243 | |
245 | 244 |
# remove not needed .la files #840957 |
246 | 245 |
find "${ED}" -name '*.la' -delete || die |