app-office/libreoffice: Disable running kf5-config
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 7 Mar 2018 11:25:26 +0000 (12:25 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 7 Mar 2018 12:57:47 +0000 (13:57 +0100)
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

app-office/libreoffice/libreoffice-6.0.2.1.ebuild
app-office/libreoffice/libreoffice-6.0.9999.ebuild
app-office/libreoffice/libreoffice-9999.ebuild

index 73cd46b4e1a4356fce1fe04998a7ae4833e4de76..b5671c6317c88e65bdc9581625d7cba23d371ff8 100644 (file)
@@ -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
index 73cd46b4e1a4356fce1fe04998a7ae4833e4de76..b5671c6317c88e65bdc9581625d7cba23d371ff8 100644 (file)
@@ -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
index eca7b36b89aad1348e24fe22c977e624ee906038..ec4bf5552b687b1d3c54ef76d49f75a0605efb01 100644 (file)
@@ -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