summaryrefslogtreecommitdiffstats
path: root/video/mkvtoolnix/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'video/mkvtoolnix/DEPENDS')
-rwxr-xr-xvideo/mkvtoolnix/DEPENDS11
1 files changed, 10 insertions, 1 deletions
diff --git a/video/mkvtoolnix/DEPENDS b/video/mkvtoolnix/DEPENDS
index 428afe348d..5a54c08ef4 100755
--- a/video/mkvtoolnix/DEPENDS
+++ b/video/mkvtoolnix/DEPENDS
@@ -1,7 +1,16 @@
depends expat &&
depends libvorbis &&
depends libmatroska &&
-depends -sub REGEX boost &&
+# unless someone has a better suggestion this seems to be needed on
+# x86_64 else it'll look for it in /usr/lib64 and fail but I'm giving
+# this check just to see if that dir exists in case someone goes
+# multilib or something similar
+if [[ ${SMGL_COMPAT_ARCHS[1]} == x86_64 ]] &&
+ [[ ! -d ${INSTALL_ROOT}/usr/lib64 ]] ; then
+depends -sub REGEX boost "--with-boost-libdir=${INSTALL_ROOT}/usr/lib"
+else
+depends -sub REGEX boost
+fi &&
depends -sub CPP pcre &&
optional_depends bzip2 \
'--enable-bz2' \