summaryrefslogtreecommitdiff
path: root/core/pam/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-29 01:05:02 -0700
committerroot <root@rshg054.dnsready.net>2013-10-29 01:05:02 -0700
commit38b1ce25596ae456fefb3214a73c3d1005da568f (patch)
tree5cb69842c94bdd2b34b01be22f97b5949237550f /core/pam/PKGBUILD
parent1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (diff)
Tue Oct 29 01:04:23 PDT 2013
Diffstat (limited to 'core/pam/PKGBUILD')
-rw-r--r--core/pam/PKGBUILD12
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
}