diff options
Diffstat (limited to 'core/pam/PKGBUILD')
-rw-r--r-- | core/pam/PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/core/pam/PKGBUILD b/core/pam/PKGBUILD index a3c10cdca..7cbc47890 100644 --- a/core/pam/PKGBUILD +++ b/core/pam/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 196782 2013-10-19 06:36:42Z tpowa $ +# $Id: PKGBUILD 197680 2013-10-28 10:54:41Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=pam pkgver=1.1.8 -pkgrel=1 +pkgrel=2 pkgdesc="PAM (Pluggable Authentication Modules) library" arch=('i686' 'x86_64') license=('GPL2') @@ -28,7 +28,13 @@ build() { cd $srcdir/pam_unix2-2.9.1 patch -Np1 -i ../pam_unix2-glibc216.patch - ./configure --libdir=/usr/lib --sbindir=/usr/bin + + # modify flags to build against the pam compiled here, not a system lib. + ./configure \ + CFLAGS="$CFLAGS -I$srcdir/Linux-PAM-$pkgver/libpam/include/" \ + LDFLAGS="$LDFLAGS -L$srcdir/Linux-PAM-$pkgver/libpam/.libs/" \ + --libdir=/usr/lib \ + --sbindir=/usr/bin make } |