From 38b1ce25596ae456fefb3214a73c3d1005da568f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Oct 2013 01:05:02 -0700 Subject: Tue Oct 29 01:04:23 PDT 2013 --- core/pam/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'core/pam/PKGBUILD') 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 # Contributor: judd 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 } -- cgit v1.2.3-54-g00ecf