diff options
Diffstat (limited to 'www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild')
-rw-r--r-- | www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild b/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild index 619ec3aef2c7..ab3ad56f7874 100644 --- a/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild +++ b/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild,v 1.1 2008/02/02 10:44:36 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.12.ebuild,v 1.2 2008/04/25 12:20:46 hollow Exp $ inherit apache-module @@ -10,28 +10,28 @@ SRC_URI="http://horde.net/~jwm/software/mod_ldap_userdir/${P}.tar.gz" LICENSE="GPL-1" SLOT="0" -KEYWORDS="~ppc ~x86" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="ssl" DEPEND="ssl? ( dev-libs/openssl ) net-nds/openldap" RDEPEND="${DEPEND}" -DOCFILES="DIRECTIVES README user-ldif posixAccount-objectclass" +need_apache2_2 -APXS2_ARGS="-lldap -llber -c ${PN}.c" -APACHE2_MOD_CONF="47_mod_ldap_userdir" +APACHE2_MOD_CONF="47_${PN}" APACHE2_MOD_DEFINE="LDAP_USERDIR" -need_apache2_2 +DOCFILES="DIRECTIVES README user-ldif posixAccount-objectclass" src_compile() { - econf || die "econf failed" - use ssl && APXS2_ARGS="${APXS2_ARGS} -DTLS=1" - apache-module_src_compile + econf --with-apxs="${APXS}" \ + $(use_enable ssl tls) \ + || die "econf failed" + emake || die "emake failed" } src_install() { apache-module_src_install - fperms 600 "${APACHE_MODULES_CONFDIR}"/47_mod_ldap_userdir.conf + fperms 600 "${APACHE_MODULES_CONFDIR}"/47_${PN}.conf } |