diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-17 20:41:23 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-17 20:41:23 +0200 |
commit | 38389505b5f8809743855ead04f7feb9a37a9cc8 (patch) | |
tree | 8dc0a3464d61b4c4e045378e5d08862bebc6fd0c | |
parent | 7481bf8fce693a2be8e8f8c9846cc5a4b77a8f76 (diff) |
Workaround outdated config.guess.
-rw-r--r-- | extra/nss_ldap/PKGBUILD | 1 | ||||
-rw-r--r-- | extra/pam_ldap/PKGBUILD | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD index 50c4eb028..28ad9366f 100644 --- a/extra/nss_ldap/PKGBUILD +++ b/extra/nss_ldap/PKGBUILD @@ -17,6 +17,7 @@ md5sums=('c1cb02d1a85538cf16bca6f6a562abe4') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ + --build=$CHOST --host=$CHOST \ --prefix=/usr \ --with-ldap-conf-file=/etc/nss_ldap.conf \ --with-ldap=openldap \ diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD index 70852eb70..bff718b46 100644 --- a/extra/pam_ldap/PKGBUILD +++ b/extra/pam_ldap/PKGBUILD @@ -19,7 +19,8 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --libdir=/usr/lib \ --with-ldap-conf-file=/etc/pam_ldap.conf \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + --build=$CHOST --host=$CHOST PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make } |