summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/meshlab/meshlab.SlackBuild4
-rw-r--r--graphics/meshlab/meshlab.info2
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/meshlab/meshlab.SlackBuild b/graphics/meshlab/meshlab.SlackBuild
index 122fff357f..309d2aa3e4 100644
--- a/graphics/meshlab/meshlab.SlackBuild
+++ b/graphics/meshlab/meshlab.SlackBuild
@@ -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)
diff --git a/graphics/meshlab/meshlab.info b/graphics/meshlab/meshlab.info
index 9a2f6999f8..0e02c692e1 100644
--- a/graphics/meshlab/meshlab.info
+++ b/graphics/meshlab/meshlab.info
@@ -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"