diff options
Diffstat (limited to 'extra/nss_ldap')
-rw-r--r-- | extra/nss_ldap/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD index 71c689f86..e702b98e8 100644 --- a/extra/nss_ldap/PKGBUILD +++ b/extra/nss_ldap/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 151294 2012-02-25 13:12:18Z pierre $ -# Maintainer: Paul Mattal <paul@archlinux.org> +# $Id: PKGBUILD 158628 2012-05-05 03:23:20Z dreisner $ +# Maintainer: # Contributor: Comete <la_comete@tiscali.fr> pkgname=nss_ldap pkgver=265 -pkgrel=3 +pkgrel=4 pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories." arch=('i686' 'x86_64') url="http://www.padl.com/OSS/nss_ldap.html" @@ -17,9 +17,10 @@ md5sums=('c1cb02d1a85538cf16bca6f6a562abe4') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ + --prefix=/usr \ --with-ldap-conf-file=/etc/nss_ldap.conf \ --with-ldap=openldap \ - --libdir=/lib \ + --sysconfdir=/etc \ --mandir=/usr/share/man \ --enable-schema-mapping \ --enable-rfc2307bis \ @@ -30,4 +31,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + + # buildsystem is trying to be clever and hardcodes symlinks in /usr$(libdir) + rm -rf "${pkgdir}/usr/usr" } |