summaryrefslogtreecommitdiff
path: root/extra/nss_ldap/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
commit601a559448eb957ac98aca7a6e03de59e45fff91 (patch)
tree13fc71216622c3d764aa611b6a54e1918f21c496 /extra/nss_ldap/PKGBUILD
parentc96a7351e1f295c1e311860dec19ac7b506b0c5c (diff)
parentf37e773fe397778858ea8d51601554863c252536 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/rtorrent/PKGBUILD core/libcap/PKGBUILD extra/samba/PKGBUILD extra/systemd/PKGBUILD extra/usbmuxd/PKGBUILD testing/glib2/PKGBUILD
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 3c6467c54..50c4eb028 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' 'mips64el')
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"
}