summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-08-08 10:27:21 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-08-08 10:27:21 +0000
commitc2b7b052fece55c1b3ec16c69362e6b6d8c74f69 (patch)
treef807b03a9251e7f61a041a57dff9599287726d7c /www-apache/mod_perl
parentVersion bump (diff)
downloadhistorical-c2b7b052fece55c1b3ec16c69362e6b6d8c74f69.tar.gz
historical-c2b7b052fece55c1b3ec16c69362e6b6d8c74f69.tar.bz2
historical-c2b7b052fece55c1b3ec16c69362e6b6d8c74f69.zip
bug 101292 - note for threaded vs unthreaded apache/perl systems
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'www-apache/mod_perl')
-rw-r--r--www-apache/mod_perl/ChangeLog6
-rw-r--r--www-apache/mod_perl/Manifest10
-rw-r--r--www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild15
3 files changed, 24 insertions, 7 deletions
diff --git a/www-apache/mod_perl/ChangeLog b/www-apache/mod_perl/ChangeLog
index 0ae8cd22cd3b..f45c56fa5685 100644
--- a/www-apache/mod_perl/ChangeLog
+++ b/www-apache/mod_perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apache/mod_perl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.9 2005/08/08 09:38:32 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.10 2005/08/08 10:27:21 mcummings Exp $
+
+ 08 Aug 2005; Michael Cummings <mcummings@gentoo.org>
+ mod_perl-2.0.1-r2.ebuild:
+ bug 101292 - note for threaded vs unthreaded apache/perl systems
08 Aug 2005; Michael Cummings <mcummings@gentoo.org>
files/apache2-mod_perl-startup.pl:
diff --git a/www-apache/mod_perl/Manifest b/www-apache/mod_perl/Manifest
index 3520c7f6a852..c767f5dd4bf0 100644
--- a/www-apache/mod_perl/Manifest
+++ b/www-apache/mod_perl/Manifest
@@ -1,7 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 0fe989294eba7b3f528afa4bd5509299 ChangeLog 10508
+MD5 a7b5bf633e3b79a765833468aba660a6 ChangeLog 10660
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
MD5 03b7e719ebc03b0bbdb703ce809b510b mod_perl-1.27-r1.ebuild 1419
MD5 77e5ef5905ee1527577ba7b9c27328d7 mod_perl-1.27-r2.ebuild 1438
@@ -10,7 +10,7 @@ MD5 f0f522c1a4dfb370f786da11f0dd6ff1 mod_perl-1.29.ebuild 2114
MD5 7b6b1086e2c4a4e10caaddffb8c70c94 mod_perl-2.0.1-r1.ebuild 4826
MD5 8a3282dd3a16deb4647459f81ad70abe mod_perl-1.99.11.ebuild 3789
MD5 05f614537c52c42b923462192096468e mod_perl-1.99.16.ebuild 3804
-MD5 b2abdb1abcc3c0ce6f3a6277a08194d9 mod_perl-2.0.1-r2.ebuild 4826
+MD5 20fb6331ba413f0ea344450f7878be15 mod_perl-2.0.1-r2.ebuild 5262
MD5 2415e6be73ba155382b34b5e2fad4951 files/75_mod_perl.conf 247
MD5 6dbf85f6df302959fc9decf11eb6e5f5 files/apache2-mod_perl-startup.pl 485
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r1 65
@@ -29,7 +29,7 @@ MD5 4dcf07748f65bc0682e4d739ec14535d files/2.0.1/75_mod_perl.conf 1527
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFC9ygqtG5z4I8BtQoRAo34AJ4o4AehpAJt2c/CUmYafpaYXsDGjwCfaKOS
-HTmWmxaWKMw9Fu5jmrAurdU=
-=BFYC
+iD8DBQFC9zOgtG5z4I8BtQoRAhYzAJ9gXpqdRx0Y50n6B7m1WXaxGXv9WgCeLBcQ
+vslXYSQZH7+j8BZsBQdvUdo=
+=r87X
-----END PGP SIGNATURE-----
diff --git a/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild b/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild
index bdf34746c95d..d58a0b013f85 100644
--- a/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild
+++ b/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild,v 1.1 2005/08/08 09:35:43 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild,v 1.2 2005/08/08 10:27:21 mcummings Exp $
inherit apache-module perl-module eutils
DESCRIPTION="An embedded Perl interpreter for Apache2"
@@ -27,6 +27,19 @@ DOCFILES="Changes INSTALL LICENSE README STATUS"
APACHE2_MOD_DEFINE="PERL"
src_unpack() {
+ INSTALLED_MPM="$(${ROOT}/usr/sbin/apxs2 -q MPM_NAME)"
+ eval `perl '-V:useithreads'`
+ ITHREADS="${useithreads}"
+ if [ "${INSTALLED_MPM}" != "prefork" ]; then
+ if [ "${ITHREADS}" == "undef" ]; then
+ ewarn "You cannot build mod_perl on a threaded apache"
+ ewarn "with an unthreaded perl. You must either emerge"
+ ewarn "perl with ithreads in your USE flags, or emerge"
+ ewarn "apache without threading support"
+ exit
+ fi
+ fi
+
unpack ${A}
cd ${S}