From 2ee485b0c89901df86d2f0b820ef29ca76a69937 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 11 Jan 2015 12:40:15 +0100 Subject: [PATCH] autofs: do not strip bins, repair cross compilation. --- srcpkgs/autofs/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template index 89f3d54cbad..c0c4c1f7586 100644 --- a/srcpkgs/autofs/template +++ b/srcpkgs/autofs/template @@ -1,7 +1,7 @@ # Template file for 'autofs' pkgname=autofs version=5.1.0 -revision=1 +revision=2 build_style=gnu-configure conf_files=" /etc/autofs/auto.master @@ -10,6 +10,7 @@ conf_files=" /etc/autofs/autofs_ldap_auth.conf /etc/default/autofs" configure_args="--with-libtirpc --with-mapdir=/etc/autofs" +make_build_args="STRIP=:" hostmakedepends="flex kmod" makedepends="libtirpc-devel" short_desc="A kernel-based automounter for Linux" @@ -19,6 +20,9 @@ homepage="http://www.gnu.org/software/sed" distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz" checksum=f4b343797e6df03627a9fd41bda6fd85acb84aa3fdd15694eec03ec90a52bc27 +pre_build() { + sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules +} post_install() { vsv $pkgname }