/[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.18 Revision 1.19
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.18 2009/09/20 08:37:23 hollow Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.19 2009/10/04 15:00:45 ssuominen Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7# @ECLASS: apache-2.eclass 7# @ECLASS: apache-2.eclass
8# @MAINTAINER: 8# @MAINTAINER:
442# This function adds compiler flags and runs econf and emake based on MY_MPM and 442# This function adds compiler flags and runs econf and emake based on MY_MPM and
443# MY_CONF 443# MY_CONF
444apache-2_src_configure() { 444apache-2_src_configure() {
445 # Instead of filtering --as-needed (bug #128505), append --no-as-needed 445 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
446 # Thanks to Harald van Dijk 446 # Thanks to Harald van Dijk
447 # ... but only on platforms that use a GNU linker!
448 case ${CHOST} in
449 *-solaris* | *-*bsd* | *-linux-gnu)
450 append-ldflags -Wl,--no-as-needed 447 append-ldflags $(no-as-needed)
451 ;;
452 esac
453 448
454 # peruser MPM debugging with -X is nearly impossible 449 # peruser MPM debugging with -X is nearly impossible
455 if has peruser ${IUSE_MPMS} && use apache2_mpms_peruser ; then 450 if has peruser ${IUSE_MPMS} && use apache2_mpms_peruser ; then
456 use debug && append-flags -DMPM_PERUSER_DEBUG 451 use debug && append-flags -DMPM_PERUSER_DEBUG
457 fi 452 fi

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20