summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-02-12 00:03:21 +0000
committerMike Frysinger <vapier@gentoo.org>2014-02-12 00:03:21 +0000
commite66b7e8bb86a1ac33310f295e431aed2d7164207 (patch)
treee5938c8ab30639a8b0e1e9c3434dfc88928aeac8 /eclass/apache-2.eclass
parentVersion bump. Ebuild by Arfrever. (diff)
downloadhistorical-e66b7e8bb86a1ac33310f295e431aed2d7164207.tar.gz
historical-e66b7e8bb86a1ac33310f295e431aed2d7164207.tar.bz2
historical-e66b7e8bb86a1ac33310f295e431aed2d7164207.zip
add sanity check on code execution in $T to weed out bad mount/kernel settings #500928
Diffstat (limited to 'eclass/apache-2.eclass')
-rw-r--r--eclass/apache-2.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index f5da77b1683e..9f87c6a0eabf 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.34 2014/01/31 08:29:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.35 2014/02/12 00:03:21 vapier Exp $
# @ECLASS: apache-2.eclass
# @MAINTAINER:
@@ -441,6 +441,13 @@ apache-2_src_prepare() {
apache-2_src_configure() {
tc-export PKG_CONFIG
+ # Sanity check in case people have bad mounts/TPE settings. #500928
+ if ! "${T}"/pcre-config --help >/dev/null ; then
+ eerror "Could not execute ${T}/pcre-config; do you have bad mount"
+ eerror "permissions in ${T} or have TPE turned on in your kernel?"
+ die "check your runtime settings #500928"
+ fi
+
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
# Thanks to Harald van Dijk
append-ldflags $(no-as-needed)