graphics/meshlab: Fix build on i486.

New external dep mpir was previously internal (and x86_64 only).

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2014-12-27 12:15:34 +00:00 committed by Robby Workman
parent 478fc82c33
commit edb035d06a
2 changed files with 4 additions and 2 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=meshlab
VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=MeshLabSrc_AllInc
@ -77,6 +77,8 @@ find -L . \
patch -p1 < $CWD/plystuff.diff
# fix silly lapack error in ancient levmar (thanks to net147 over at Arch)
patch -p1 -d meshlab < $CWD/lapack.patch
# use external mpir -- meshlab ships x86_64 static libs, but no src or libs for i486
sed -i -e '/mpir/d' meshlab/src/meshlabplugins/filter_csg/filter_csg.pro
# Build all the dependencies. These will be statically linked into meshlab.
# (Horrible duplication and many out of date, but avoids version clashes)

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/meshlab/MeshLabSrc_AllInc_v133.tgz"
MD5SUM="cbdd83d4f3ed69e7a9837c34ebae307a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lapack"
REQUIRES="lapack mpir"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"