public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_vhs: ChangeLog mod_vhs-1.0.32.ebuild
@ 2007-09-11 12:13 Benedikt Boehm (hollow)
  0 siblings, 0 replies; 2+ messages in thread
From: Benedikt Boehm (hollow) @ 2007-09-11 12:13 UTC (permalink / raw
  To: gentoo-commits

hollow      07/09/11 12:13:10

  Modified:             ChangeLog mod_vhs-1.0.32.ebuild
  Log:
  fix php detection
  (Portage version: 2.1.3.7)

Revision  Changes    Path
1.3                  www-apache/mod_vhs/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	10 Sep 2007 10:25:36 -0000	1.2
+++ ChangeLog	11 Sep 2007 12:13:10 -0000	1.3
@@ -1,6 +1,9 @@
 # ChangeLog for www-apache/mod_vhs
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.2 2007/09/10 10:25:36 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.3 2007/09/11 12:13:10 hollow Exp $
+
+  11 Sep 2007; Benedikt Böhm <hollow@gentoo.org> mod_vhs-1.0.32.ebuild:
+  fix php detection
 
   10 Sep 2007; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
   fix metadata



1.2                  www-apache/mod_vhs/mod_vhs-1.0.32.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?rev=1.2&view=markup
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
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

Index: mod_vhs-1.0.32.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_vhs-1.0.32.ebuild	9 Sep 2007 09:46:49 -0000	1.1
+++ mod_vhs-1.0.32.ebuild	11 Sep 2007 12:13:10 -0000	1.2
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $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 $
 
-inherit eutils apache-module
+inherit apache-module depend.php eutils
 
 DESCRIPTION="Mass Virtual Hosting System for Apache 2"
 HOMEPAGE="http://www.oav.net/projects/mod_vhs/"
@@ -17,12 +17,6 @@
 	php? ( dev-lang/php )
 	suphp? ( www-apache/mod_suphp )"
 
-myconf="-I/usr/include/home -lhome"
-use php && myconf="${myconf} $(/usr/bin/php-config --includes) -DHAVE_MOD_PHP_SUPPORT"
-use suphp && myconf="${myconf} -DHAVE_MOD_SUPHP_SUPPORT"
-use debug myconf="${myconf} -DVH_DEBUG"
-
-APXS2_ARGS="-a -c ${myconf} ${PN}.c"
 APACHE2_MOD_CONF="99_${PN}"
 APACHE2_MOD_DEFINE="VHS"
 
@@ -30,6 +24,22 @@
 
 need_apache2
 
+pkg_setup() {
+	myconf="-I/usr/include/home -lhome"
+
+	if use php; then
+		has_php
+		require_php_sapi_from apache2
+		myconf="${myconf} $(${PHPCONFIG} --includes) -DHAVE_MOD_PHP_SUPPORT"
+	fi
+
+	use suphp && myconf="${myconf} -DHAVE_MOD_SUPHP_SUPPORT"
+	use debug myconf="${myconf} -DVH_DEBUG"
+
+	APXS2_ARGS="-c ${myconf} ${PN}.c"
+	apache-module_pkg_setup
+}
+
 src_unpack() {
 	unpack ${A}
 	cd "${S}"



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in www-apache/mod_vhs: ChangeLog mod_vhs-1.0.32.ebuild
@ 2008-02-06 21:49 Benedikt Boehm (hollow)
  0 siblings, 0 replies; 2+ messages in thread
From: Benedikt Boehm (hollow) @ 2008-02-06 21:49 UTC (permalink / raw
  To: gentoo-commits

hollow      08/02/06 21:49:28

  Modified:             ChangeLog mod_vhs-1.0.32.ebuild
  Log:
  fix #205752
  (Portage version: 2.1.4.1)

Revision  Changes    Path
1.5                  www-apache/mod_vhs/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	31 Jan 2008 19:21:31 -0000	1.4
+++ ChangeLog	6 Feb 2008 21:49:27 -0000	1.5
@@ -1,6 +1,9 @@
 # ChangeLog for www-apache/mod_vhs
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.4 2008/01/31 19:21:31 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.5 2008/02/06 21:49:27 hollow Exp $
+
+  06 Feb 2008; Benedikt Böhm <hollow@gentoo.org> mod_vhs-1.0.32.ebuild:
+  fix #205752
 
   31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> files/99_mod_vhs.conf,
   metadata.xml:



1.3                  www-apache/mod_vhs/mod_vhs-1.0.32.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild?r1=1.2&r2=1.3

Index: mod_vhs-1.0.32.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_vhs-1.0.32.ebuild	11 Sep 2007 12:13:10 -0000	1.2
+++ mod_vhs-1.0.32.ebuild	6 Feb 2008 21:49:27 -0000	1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/mod_vhs-1.0.32.ebuild,v 1.3 2008/02/06 21:49:27 hollow Exp $
 
 inherit apache-module depend.php eutils
 
@@ -24,8 +24,8 @@
 
 need_apache2
 
-pkg_setup() {
-	myconf="-I/usr/include/home -lhome"
+src_compile() {
+	local myconf="-I/usr/include/home -lhome"
 
 	if use php; then
 		has_php
@@ -37,7 +37,7 @@
 	use debug myconf="${myconf} -DVH_DEBUG"
 
 	APXS2_ARGS="-c ${myconf} ${PN}.c"
-	apache-module_pkg_setup
+	apache-module_src_compile
 }
 
 src_unpack() {



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-06 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06 21:49 [gentoo-commits] gentoo-x86 commit in www-apache/mod_vhs: ChangeLog mod_vhs-1.0.32.ebuild Benedikt Boehm (hollow)
  -- strict thread matches above, loose matches on Subject: below --
2007-09-11 12:13 Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox