/[gentoo-x86]/eclass/apache-2.eclass
Gentoo

Diff of /eclass/apache-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.34 Revision 1.35
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.34 2014/01/31 08:29:39 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.35 2014/02/12 00:03:21 vapier Exp $
4 4
5# @ECLASS: apache-2.eclass 5# @ECLASS: apache-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# apache-devs@gentoo.org 7# apache-devs@gentoo.org
8# @BLURB: Provides a common set of functions for apache-2.x ebuilds 8# @BLURB: Provides a common set of functions for apache-2.x ebuilds
439# This function adds compiler flags and runs econf and emake based on MY_MPM and 439# This function adds compiler flags and runs econf and emake based on MY_MPM and
440# MY_CONF 440# MY_CONF
441apache-2_src_configure() { 441apache-2_src_configure() {
442 tc-export PKG_CONFIG 442 tc-export PKG_CONFIG
443 443
444 # Sanity check in case people have bad mounts/TPE settings. #500928
445 if ! "${T}"/pcre-config --help >/dev/null ; then
446 eerror "Could not execute ${T}/pcre-config; do you have bad mount"
447 eerror "permissions in ${T} or have TPE turned on in your kernel?"
448 die "check your runtime settings #500928"
449 fi
450
444 # Instead of filtering --as-needed (bug #128505), append --no-as-needed 451 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
445 # Thanks to Harald van Dijk 452 # Thanks to Harald van Dijk
446 append-ldflags $(no-as-needed) 453 append-ldflags $(no-as-needed)
447 454
448 # peruser MPM debugging with -X is nearly impossible 455 # peruser MPM debugging with -X is nearly impossible

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20