[arch-commits] Commit in nss_ldap/trunk (PKGBUILD)
Tom Gundersen
tomegun at archlinux.org
Mon Apr 30 16:14:43 UTC 2012
Date: Monday, April 30, 2012 @ 12:14:42
Author: tomegun
Revision: 157986
upgpkg: nss_ldap 265-4
move /lib/* to /usr/lib
required a hack in the PKGFILE to avoid symlinks being put in /usr/usr/lib
Modified:
nss_ldap/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-04-30 15:21:56 UTC (rev 157985)
+++ PKGBUILD 2012-04-30 16:14:42 UTC (rev 157986)
@@ -1,10 +1,10 @@
# $Id$
-# Maintainer: Paul Mattal <paul at archlinux.org>
+# Maintainer:
# Contributor: Comete <la_comete at 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 @@
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 @@
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"
}
More information about the arch-commits
mailing list