From f37e773fe397778858ea8d51601554863c252536 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 May 2012 00:02:44 +0000 Subject: Sun May 6 00:02:43 UTC 2012 --- extra/nss_ldap/PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'extra/nss_ldap/PKGBUILD') 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 +# $Id: PKGBUILD 158628 2012-05-05 03:23:20Z dreisner $ +# Maintainer: # Contributor: Comete 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" } -- cgit v1.2.3-54-g00ecf