openssh: fix cross build.

This commit is contained in:
Juan RP 2013-05-16 07:49:31 +02:00
parent f3ce82d000
commit 7e49a9b0e5

View file

@ -7,7 +7,7 @@ configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
--with-kerberos5=/usr --with-pid-dir=/run --with-pam LD=$CC"
--with-pid-dir=/run --with-pam LD=$CC"
hostmakedepends="perl"
makedepends="zlib-devel openssl-devel pam-devel mit-krb5-devel"
short_desc="The OpenSSH implementation of SSH protocol versions 1 and 2 (client)"
@ -17,6 +17,12 @@ license="BSD"
distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version.tar.gz"
checksum=7f29b9d2ad672ae0f9e1dcbff871fc5c2e60a194e90c766432e32161b842313b
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-kerberos5=$XBPS_CROSS_BASE"
else
configure_args+=" --with-kerberos5=/usr"
fi
post_install() {
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
vinstall contrib/ssh-copy-id 755 usr/bin