From 505b1c26218f89aa845384c690482cd9eb0ec573 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 2 Apr 2015 19:54:38 +0200 Subject: [PATCH] biew: fix cross-compile and build on ARM. --- srcpkgs/biew/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/biew/template b/srcpkgs/biew/template index da366fd1ddc..07a1bdc6ced 100644 --- a/srcpkgs/biew/template +++ b/srcpkgs/biew/template @@ -2,7 +2,7 @@ pkgname=biew version=6.1.0 _shortversion=${version//.} -revision=1 +revision=2 wrksrc="${pkgname}-${_shortversion}" build_style=gnu-configure short_desc="Console hex viewer/editor and disassembler" @@ -11,8 +11,10 @@ license="GPL-2" homepage="http://beye.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/beye/${pkgname}/${version}/${pkgname}-${_shortversion}-src.tar.bz2" checksum=2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17 -nocross=yes +pre_configure() { + configure_args+=" --target-arch=generic --ld=$CC" +} post_install() { vmkdir usr/share/man mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share