www-apache/mod_vhost_ldap: new revision requiring apache-2.4.x.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 16 Aug 2016 04:04:20 +0000 (00:04 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 16 Aug 2016 04:04:20 +0000 (00:04 -0400)
Gentoo-Bug: 558918

Package-Manager: portage-2.2.28

www-apache/mod_vhost_ldap/mod_vhost_ldap-2.4.0-r1.ebuild [moved from www-apache/mod_vhost_ldap/mod_vhost_ldap-2.4.0.ebuild with 75% similarity]

similarity index 75%
rename from www-apache/mod_vhost_ldap/mod_vhost_ldap-2.4.0.ebuild
rename to www-apache/mod_vhost_ldap/mod_vhost_ldap-2.4.0-r1.ebuild
index 182a60f7b720f0862213012faf2730676083cb48..37c0dc8b227ab680b6def9cf1bf922dae585da0e 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit apache-module depend.apache
+inherit apache-module
 
 DESCRIPTION="Store and configure Apache virtual hosts using LDAP"
 HOMEPAGE="http://modvhostldap.alioth.debian.org/"
@@ -20,13 +20,16 @@ APACHE2_MOD_DEFINE="VHOST_LDAP LDAP"
 
 DOCFILES="AUTHORS ChangeLog README"
 
-# apache[ldap] is needed to run, but not to compile.
-DEPEND=""
-RDEPEND="=www-servers/apache-2*[ldap]"
+# We need apr-util[ldap] and apache to build, but the ldap module for
+# apache is only needed when we try to run the thing.
+DEPEND="dev-libs/apr-util[ldap]"
+RDEPEND="=www-servers/apache-2.4*[ldap]"
 
-need_apache2
+need_apache2_4
 
 src_prepare() {
+       default
+
        sed -i "s/MOD_VHOST_LDAP_VERSION/\"${PV}\"/g" "${PN}.c" || \
                die "failed to sed version string"
 }