1 |
hollow 07/09/11 12:13:10 |
2 |
|
3 |
Modified: ChangeLog mod_vhs-1.0.32.ebuild |
4 |
Log: |
5 |
fix php detection |
6 |
(Portage version: 2.1.3.7) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 www-apache/mod_vhs/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- ChangeLog 10 Sep 2007 10:25:36 -0000 1.2 |
22 |
+++ ChangeLog 11 Sep 2007 12:13:10 -0000 1.3 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for www-apache/mod_vhs |
25 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.2 2007/09/10 10:25:36 hollow Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.3 2007/09/11 12:13:10 hollow Exp $ |
28 |
+ |
29 |
+ 11 Sep 2007; Benedikt Böhm <hollow@g.o> mod_vhs-1.0.32.ebuild: |
30 |
+ fix php detection |
31 |
|
32 |
10 Sep 2007; Benedikt Böhm <hollow@g.o> metadata.xml: |
33 |
fix metadata |
34 |
|
35 |
|
36 |
|
37 |
1.2 www-apache/mod_vhs/mod_vhs-1.0.32.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: mod_vhs-1.0.32.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- mod_vhs-1.0.32.ebuild 9 Sep 2007 09:46:49 -0000 1.1 |
50 |
+++ mod_vhs-1.0.32.ebuild 11 Sep 2007 12:13:10 -0000 1.2 |
51 |
@@ -1,8 +1,8 @@ |
52 |
# Copyright 1999-2007 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v 1.1 2007/09/09 09:46:49 hollow Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v 1.2 2007/09/11 12:13:10 hollow Exp $ |
56 |
|
57 |
-inherit eutils apache-module |
58 |
+inherit apache-module depend.php eutils |
59 |
|
60 |
DESCRIPTION="Mass Virtual Hosting System for Apache 2" |
61 |
HOMEPAGE="http://www.oav.net/projects/mod_vhs/" |
62 |
@@ -17,12 +17,6 @@ |
63 |
php? ( dev-lang/php ) |
64 |
suphp? ( www-apache/mod_suphp )" |
65 |
|
66 |
-myconf="-I/usr/include/home -lhome" |
67 |
-use php && myconf="${myconf} $(/usr/bin/php-config --includes) -DHAVE_MOD_PHP_SUPPORT" |
68 |
-use suphp && myconf="${myconf} -DHAVE_MOD_SUPHP_SUPPORT" |
69 |
-use debug myconf="${myconf} -DVH_DEBUG" |
70 |
- |
71 |
-APXS2_ARGS="-a -c ${myconf} ${PN}.c" |
72 |
APACHE2_MOD_CONF="99_${PN}" |
73 |
APACHE2_MOD_DEFINE="VHS" |
74 |
|
75 |
@@ -30,6 +24,22 @@ |
76 |
|
77 |
need_apache2 |
78 |
|
79 |
+pkg_setup() { |
80 |
+ myconf="-I/usr/include/home -lhome" |
81 |
+ |
82 |
+ if use php; then |
83 |
+ has_php |
84 |
+ require_php_sapi_from apache2 |
85 |
+ myconf="${myconf} $(${PHPCONFIG} --includes) -DHAVE_MOD_PHP_SUPPORT" |
86 |
+ fi |
87 |
+ |
88 |
+ use suphp && myconf="${myconf} -DHAVE_MOD_SUPHP_SUPPORT" |
89 |
+ use debug myconf="${myconf} -DVH_DEBUG" |
90 |
+ |
91 |
+ APXS2_ARGS="-c ${myconf} ${PN}.c" |
92 |
+ apache-module_pkg_setup |
93 |
+} |
94 |
+ |
95 |
src_unpack() { |
96 |
unpack ${A} |
97 |
cd "${S}" |
98 |
|
99 |
|
100 |
|
101 |
-- |
102 |
gentoo-commits@g.o mailing list |