From c784fa79dd5f1d68125a43362d53e77f63bb69ed Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 May 2013 11:29:29 +0200 Subject: [PATCH] rpcbind: cross build support. --- srcpkgs/rpcbind/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/rpcbind/template b/srcpkgs/rpcbind/template index 44293498871..c7dcc06a956 100644 --- a/srcpkgs/rpcbind/template +++ b/srcpkgs/rpcbind/template @@ -1,7 +1,7 @@ # Template file for 'rpcbind' pkgname=rpcbind version=0.2.0 -revision=5 +revision=6 build_style=gnu-configure configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind --with-rpcuser=rpc" @@ -17,6 +17,10 @@ long_desc=" universal address. It must be running on the host to be able to make RPC calls on a server on that machine." +if [ "$CROSS_BUILD" ]; then + hostmakedepends="libtirpc-devel" +fi + post_install() { vinstall man/rpcbind.8 644 usr/share/man/man8 vinstall man/rpcinfo.8 644 usr/share/man/man8 @@ -32,6 +36,6 @@ rpcbind_package() { rpc_homedir="/var/lib/rpcbind" make_dirs="/var/lib/rpcbind 0700 rpc rpc" pkg_install() { - vmove usr + vmove all } }