summaryrefslogtreecommitdiff
path: root/extra/nss_ldap/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-06 00:02:44 +0000
committerroot <root@rshg054.dnsready.net>2012-05-06 00:02:44 +0000
commitf37e773fe397778858ea8d51601554863c252536 (patch)
tree9997e525a9baeb85d09bd8e0c12e750781810755 /extra/nss_ldap/PKGBUILD
parent5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (diff)
Sun May 6 00:02:43 UTC 2012
Diffstat (limited to 'extra/nss_ldap/PKGBUILD')
-rw-r--r--extra/nss_ldap/PKGBUILD12
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"
}