From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../povray/files/povray-3.7.0.0-automagic.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 media-gfx/povray/files/povray-3.7.0.0-automagic.patch (limited to 'media-gfx/povray/files/povray-3.7.0.0-automagic.patch') diff --git a/media-gfx/povray/files/povray-3.7.0.0-automagic.patch b/media-gfx/povray/files/povray-3.7.0.0-automagic.patch new file mode 100644 index 000000000000..a7c776f13fb6 --- /dev/null +++ b/media-gfx/povray/files/povray-3.7.0.0-automagic.patch @@ -0,0 +1,27 @@ + unix/configure.ac | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f62f5d4..d9a3750 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -335,10 +335,15 @@ fi + AC_DEFINE([USE_OFFICIAL_BOOST], [], [Use the official Boost libraries.]) + + # Intel Math Kernel library +-pov_save_ldflags="$LDFLAGS" +-test x"$with_libmkl" != x"" && LDFLAGS="-L$with_libmkl $LDFLAGS" +-AC_CHECK_LIB([mkl], [sin]) +-test x"ac_cv_lib_mkl_sin" = x"no" && LDFLAGS="$pov_save_ldflags" ++AS_IF([test x"$with_libmkl" != x"no"], [ ++ pov_save_ldflags="$LDFLAGS" ++ AS_IF([test x"$with_libmkl" != x"yes"], [ ++ LDFLAGS="-L$with_libmkl $LDFLAGS" ++ ]) ++ AC_CHECK_LIB([mkl], [sin], [], [ ++ AC_MSG_ERROR([Cannot find working mkl library]) ++ ]) ++]) + + # libm + AC_CHECK_LIB([m], [sin]) -- cgit v1.2.3