EAPI=5
-inherit eutils apache-module
+inherit apache-module depend.apache
DESCRIPTION="Store and configure Apache virtual hosts using LDAP"
HOMEPAGE="http://modvhostldap.alioth.debian.org/"
SRC_URI="http://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
-LICENSE="GPL-2"
+LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
need_apache2
src_prepare() {
- sed -i "s/MOD_VHOST_LDAP_VERSION/\"${PV}\"/g" "${PN}.c"
+ sed -i "s/MOD_VHOST_LDAP_VERSION/\"${PV}\"/g" "${PN}.c" || \
+ die "failed to sed version string"
}
src_install() {