Changes to make apache multilib aware
authorMichael Stewart <vericgar@gentoo.org>
Sun, 18 Sep 2005 05:01:46 +0000 (05:01 +0000)
committerMichael Stewart <vericgar@gentoo.org>
Sun, 18 Sep 2005 05:01:46 +0000 (05:01 +0000)
eclass/depend.apache.eclass

index e3448b1643e88d87084f8e47a4167df89f86ffbd..1fd7c62e24760525a1ca2d597a34e955529ee465 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.21 2005/09/10 20:21:51 vericgar Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.22 2005/09/18 05:01:46 vericgar Exp $
+
+inherit multilib
 
 ######
 ## Apache Common Variables
@@ -42,8 +44,8 @@ APACHECTL2="/usr/sbin/apache2ctl"
 ##
 ## Paths to the server root directories
 ####
-APACHE1_BASEDIR="/usr/lib/apache"
-APACHE2_BASEDIR="/usr/lib/apache2"
+APACHE1_BASEDIR="/usr/$(get_libdir)/apache"
+APACHE2_BASEDIR="/usr/$(get_libdir)/apache2"
 
 ####
 ## APACHE1_CONFDIR, APACHE2_CONFDIR