Skip to content

Commit

Permalink
app-office/libreoffice: Disable running kf5-config
Browse files Browse the repository at this point in the history
We don't need it, and it is causing sandbox violations.

Closes: https://bugs.gentoo.org/646406
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
a17r committed Mar 7, 2018
1 parent 796ce18 commit bbd141f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app-office/libreoffice/libreoffice-6.0.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ src_unpack() {
src_prepare() {
default

# sandbox violations on many systems, we don't need it. Bug #646406
sed -i \
-e "/KF5_CONFIG/s/kf5-config/no/" \
configure.ac || die "Failed to disable kf5-config"

AT_M4DIR="m4" eautoreconf
# hack in the autogen.sh
touch autogen.lastrun
Expand Down
5 changes: 5 additions & 0 deletions app-office/libreoffice/libreoffice-6.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ src_unpack() {
src_prepare() {
default

# sandbox violations on many systems, we don't need it. Bug #646406
sed -i \
-e "/KF5_CONFIG/s/kf5-config/no/" \
configure.ac || die "Failed to disable kf5-config"

AT_M4DIR="m4" eautoreconf
# hack in the autogen.sh
touch autogen.lastrun
Expand Down
5 changes: 5 additions & 0 deletions app-office/libreoffice/libreoffice-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ src_unpack() {
src_prepare() {
default

# sandbox violations on many systems, we don't need it. Bug #646406
sed -i \
-e "/KF5_CONFIG/s/kf5-config/no/" \
configure.ac || die "Failed to disable kf5-config"

AT_M4DIR="m4" eautoreconf
# hack in the autogen.sh
touch autogen.lastrun
Expand Down

0 comments on commit bbd141f

Please sign in to comment.