summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-11-25 21:03:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-11-25 21:03:57 +0000
commit1ef9ffab7a983a64f7cf56a11192d19f666c9087 (patch)
treeebe5a3b008d0d8dd6b441c4dbac887bddd6b9a8d /sci-mathematics/freemat
parentRemove unused description for USE="vala" (diff)
downloadgentoo-2-1ef9ffab7a983a64f7cf56a11192d19f666c9087.tar.gz
gentoo-2-1ef9ffab7a983a64f7cf56a11192d19f666c9087.tar.bz2
gentoo-2-1ef9ffab7a983a64f7cf56a11192d19f666c9087.zip
Removed old
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/freemat')
-rw-r--r--sci-mathematics/freemat/ChangeLog9
-rw-r--r--sci-mathematics/freemat/files/freemat-3.6-gcc44.patch20
-rw-r--r--sci-mathematics/freemat/files/freemat-3.6-includes.patch470
-rw-r--r--sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch91
-rw-r--r--sci-mathematics/freemat/freemat-3.6.ebuild83
5 files changed, 7 insertions, 666 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog
index 368c90198615..6625d5617017 100644
--- a/sci-mathematics/freemat/ChangeLog
+++ b/sci-mathematics/freemat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/freemat
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.22 2010/05/05 16:11:17 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.23 2011/11/25 21:03:56 bicatali Exp $
+
+ 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> -freemat-3.6.ebuild,
+ -files/freemat-3.6-gcc44.patch, -files/freemat-3.6-includes.patch,
+ -files/freemat-3.6-optional-deps.patch:
+ Removed old
05 May 2010; Sébastien Fabbro <bicatali@gentoo.org> freemat-4.0.ebuild,
+files/freemat-4.0-gcc45.patch:
diff --git a/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch b/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch
deleted file mode 100644
index b145d25e3405..000000000000
--- a/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.in
-+++ configure.in
-@@ -64,6 +64,7 @@
- platform="--linux"
- MP_WITH_CURSES
- LIBS="$LIBS $CURSES_LIB $FLIBS $QT_LIBS"
-+ LIBS="$LIBS -lGLU"
- fi
-
- if (test "$cross_compiling" = "yes"); then
---- libs/libFreeMat/IEEEFP.cpp
-+++ libs/libFreeMat/IEEEFP.cpp
-@@ -17,6 +17,7 @@
- *
- */
- #include "IEEEFP.hpp"
-+#include <cstdio>
-
- static bool endianDetected = false;
- static bool bigEndian = false;
diff --git a/sci-mathematics/freemat/files/freemat-3.6-includes.patch b/sci-mathematics/freemat/files/freemat-3.6-includes.patch
deleted file mode 100644
index b7cca116cfea..000000000000
--- a/sci-mathematics/freemat/files/freemat-3.6-includes.patch
+++ /dev/null
@@ -1,470 +0,0 @@
---- ./libs/libCore/IO.cpp.orig 2008-03-14 15:43:03.000000000 +0000
-+++ ./libs/libCore/IO.cpp 2008-05-20 17:18:35.000000000 +0100
-@@ -19,8 +19,8 @@
- */
-
- #include "Array.hpp"
--#include <stdio.h>
--#include <errno.h>
-+#include <cstdio>
-+#include <cerrno>
- #include <math.h>
- #include "Malloc.hpp"
- #include "HandleList.hpp"
---- ./libs/libCore/Random.cpp.orig 2008-03-15 05:16:27.000000000 +0000
-+++ ./libs/libCore/Random.cpp 2008-05-20 17:18:35.000000000 +0100
-@@ -21,7 +21,7 @@
- #include "Exception.hpp"
- #include "Malloc.hpp"
- #include <math.h>
--#include <stdio.h>
-+#include <cstdio>
- #include "RanLib.hpp"
-
- static bool initialized = false;
---- ./libs/libCore/Constructors.cpp.orig 2008-03-14 15:43:03.000000000 +0000
-+++ ./libs/libCore/Constructors.cpp 2008-05-20 17:18:35.000000000 +0100
-@@ -21,10 +21,10 @@
- #include "Math.hpp"
- #include "Exception.hpp"
- #include <math.h>
--#include <stdio.h>
-+#include <cstdio>
- #include "Core.hpp"
- #include "Malloc.hpp"
--#include <ctype.h>
-+#include <cctype>
-
-
- //!
---- ./libs/libCore/RanLib.cpp.orig 2008-03-14 15:43:03.000000000 +0000
-+++ ./libs/libCore/RanLib.cpp 2008-05-20 17:18:35.000000000 +0100
-@@ -18,11 +18,9 @@
- */
-
- #include "Exception.hpp"
--#include <stdio.h>
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include <math.h>
--#include <stdlib.h>
- #include "RanLib.hpp"
-
- /*
-@@ -68,7 +68,6 @@
- email: matumoto@math.keio.ac.jp
- */
-
--#include <stdio.h>
-
- /* Period parameters */
- #define N 624
---- ./libs/libCore/Directory.cpp.orig 2008-03-14 15:43:03.000000000 +0000
-+++ ./libs/libCore/Directory.cpp 2008-05-20 17:18:35.000000000 +0100
-@@ -20,7 +20,7 @@
- #include "Array.hpp"
- #include "Interpreter.hpp"
- #include "Utils.hpp"
--#include <stdio.h>
-+#include <cstdio>
- #include "System.hpp"
- #include <QtCore>
-
---- ./libs/libFreeMat/Scope.hpp.orig 2008-05-20 15:26:51.000000000 +0100
-+++ ./libs/libFreeMat/Scope.hpp 2008-05-20 15:27:26.000000000 +0100
-@@ -24,6 +24,7 @@
- * A Scope is a combination of a variable hashtable and a function hashtable.
- */
- #include <string>
-+#include <algorithm>
- #include <QMutex>
-
- #include "Array.hpp"
---- ./libs/libFreeMat/Malloc.cpp.orig 2008-05-20 15:28:34.000000000 +0100
-+++ ./libs/libFreeMat/Malloc.cpp 2008-05-20 15:29:19.000000000 +0100
-@@ -19,9 +19,9 @@
-
- #include "Malloc.hpp"
- #include "Exception.hpp"
--#include <stdlib.h>
--#include <stdio.h>
--
-+#include <cstdlib>
-+#include <cstdio>
-+#include <cstring>
-
- void* Malloc(int count) {
- void* ptr;
---- ./libs/libFreeMat/Context.hpp.orig 2008-05-20 15:46:01.000000000 +0100
-+++ ./libs/libFreeMat/Context.hpp 2008-05-20 15:47:46.000000000 +0100
-@@ -30,7 +30,7 @@
- #include <QDebug>
- #include <QList>
- #include <QMutex>
--#include <stdarg.h>
-+#include <cstdarg>
-
- /**
- * This class represents a reference to an array in a scope
---- ./libs/libFreeMat/Token.cpp.orig 2008-05-20 15:30:09.000000000 +0100
-+++ ./libs/libFreeMat/Token.cpp 2008-05-20 15:31:57.000000000 +0100
-@@ -1,7 +1,8 @@
- #include "Token.hpp"
- #include "Serialize.hpp"
- #include <iostream>
--#include <errno.h>
-+#include <cerrno>
-+#include <climits>
-
- // These must appear as sequential token numbers
- string fm_reserved[22] = {
---- ./libs/libFreeMat/File.hpp.orig 2008-05-20 15:46:12.000000000 +0100
-+++ ./libs/libFreeMat/File.hpp 2008-05-20 15:47:35.000000000 +0100
-@@ -19,7 +19,7 @@
-
- #ifndef __File_hpp__
- #define __File_hpp__
--#include <stdio.h>
-+#include <cstdio>
- #include "Stream.hpp"
- #include <string>
-
---- ./libs/libFreeMat/Scanner.cpp.orig 2008-05-20 15:32:16.000000000 +0100
-+++ ./libs/libFreeMat/Scanner.cpp 2008-05-20 15:32:56.000000000 +0100
-@@ -1,8 +1,9 @@
- #include "Scanner.hpp"
- #include <iostream>
--#include <stdio.h>
--#include <stdlib.h>
--#include <ctype.h>
-+#include <algorithm>
-+#include <cstdio>
-+#include <cstdlib>
-+#include <cctype>
- #include "Exception.hpp"
-
- extern string fm_reserved[];
---- ./libs/libFreeMat/LAPACK.hpp.orig 2008-05-20 15:46:19.000000000 +0100
-+++ ./libs/libFreeMat/LAPACK.hpp 2008-05-20 15:47:16.000000000 +0100
-@@ -20,7 +20,7 @@
- #ifndef __FMLAPACK_hpp__
- #define __FMLAPACK_hpp__
-
--#include <string.h>
-+#include <cstring>
-
- // Lapack routines used are declared here
- extern "C" {
---- ./libs/libFreeMat/Print.hpp.orig 2008-05-20 15:46:29.000000000 +0100
-+++ ./libs/libFreeMat/Print.hpp 2008-05-20 15:46:53.000000000 +0100
-@@ -23,8 +23,8 @@
- #include <vector>
- #include <list>
- #include <string>
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include "Array.hpp"
-
- class Interpreter;
---- ./libs/libFreeMat/Sparse.cpp.orig 2008-05-20 15:34:58.000000000 +0100
-+++ ./libs/libFreeMat/Sparse.cpp 2008-05-20 15:33:55.000000000 +0100
-@@ -29,7 +29,7 @@
- #include "LAPACK.hpp"
- #include "MemPtr.hpp"
- #include "Math.hpp"
--#include <math.h>
-+#include <cmath>
-
- // Routines that need to be Colon-compliant
- // SetSparseNDimSubsets
---- ./libs/libFreeMat/Serialize.cpp.orig 2008-05-20 15:36:42.000000000 +0100
-+++ ./libs/libFreeMat/Serialize.cpp 2008-05-20 15:36:02.000000000 +0100
-@@ -20,7 +20,7 @@
- #include "Serialize.hpp"
- #include "Exception.hpp"
- #include "Malloc.hpp"
--#include <stdio.h>
-+#include <cstdio>
-
- #ifdef WIN32
- #include <winsock2.h>
---- ./libs/libFreeMat/SingularValueDecompose.cpp.orig 2008-05-20 15:35:16.000000000 +0100
-+++ ./libs/libFreeMat/SingularValueDecompose.cpp 2008-05-20 15:35:31.000000000 +0100
-@@ -19,8 +19,8 @@
-
- #include "SingularValueDecompose.hpp"
- #include "LAPACK.hpp"
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include "Malloc.hpp"
-
- #define min(a,b) ((a) < (b) ? (a) : (b))
---- ./libs/libFreeMat/Array.cpp.orig 2008-05-20 15:37:11.000000000 +0100
-+++ ./libs/libFreeMat/Array.cpp 2008-05-20 15:37:48.000000000 +0100
-@@ -24,8 +24,8 @@
- #include "IEEEFP.hpp"
- #include "Interpreter.hpp"
- #include "Sparse.hpp"
--#include <math.h>
--#include <stdio.h>
-+#include <cmath>
-+#include <cstdio>
- #include <set>
-
- #include "FunctionDef.hpp"
---- ./libs/libFreeMat/Dimensions.cpp.orig 2008-05-20 15:37:29.000000000 +0100
-+++ ./libs/libFreeMat/Dimensions.cpp 2008-05-20 15:38:08.000000000 +0100
-@@ -19,9 +19,9 @@
-
- #include "Dimensions.hpp"
- #include "Exception.hpp"
--#include <stdlib.h>
-+#include <cstdlib>
- #include <string>
--#include <stdio.h>
-+#include <cstdio>
- #include "Malloc.hpp"
- #include "Interpreter.hpp"
-
---- ./libs/libFreeMat/EigenDecompose.cpp.orig 2008-05-20 15:38:34.000000000 +0100
-+++ ./libs/libFreeMat/EigenDecompose.cpp 2008-05-20 15:39:44.000000000 +0100
-@@ -19,8 +19,8 @@
-
- #include "EigenDecompose.hpp"
- #include "LAPACK.hpp"
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include "Malloc.hpp"
-
- #define MAX(a,b) ((a) > (b) ? (a) : (b))
---- ./libs/libFreeMat/Interpreter.cpp.orig 2008-05-20 15:38:41.000000000 +0100
-+++ ./libs/libFreeMat/Interpreter.cpp 2008-05-20 15:39:18.000000000 +0100
-@@ -18,8 +18,8 @@
- */
-
- #include "Interpreter.hpp"
--#include <math.h>
--#include <stdio.h>
-+#include <cmath>
-+#include <cstdio>
- #include "Exception.hpp"
- #include "Math.hpp"
- #include "Array.hpp"
-@@ -30,7 +30,7 @@
- #include "Module.hpp"
- #include "File.hpp"
- #include "Serialize.hpp"
--#include <signal.h>
-+#include <csignal>
- #include "Class.hpp"
- #include "Print.hpp"
- #include "MemPtr.hpp"
-@@ -38,7 +38,7 @@
- #include <qeventloop.h>
- #include <QtCore>
- #include <fstream>
--#include <stdarg.h>
-+#include <cstdarg>
- #include "JIT.hpp"
- #include "JITFunc.hpp"
-
---- ./libs/libFreeMat/Exception.cpp.orig 2008-05-20 15:40:54.000000000 +0100
-+++ ./libs/libFreeMat/Exception.cpp 2008-05-20 15:42:02.000000000 +0100
-@@ -17,9 +17,9 @@
- *
- */
-
--#include <string.h>
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstring>
-+#include <cstdlib>
-+#include <cstdio>
- #include <iostream>
- #include "Exception.hpp"
- #include "Malloc.hpp"
---- ./libs/libFreeMat/FunctionDef.cpp.orig 2008-05-20 15:41:04.000000000 +0100
-+++ ./libs/libFreeMat/FunctionDef.cpp 2008-05-20 15:41:23.000000000 +0100
-@@ -22,7 +22,7 @@
- #include "Parser.hpp"
- #include "Exception.hpp"
- #include <iostream>
--#include <signal.h>
-+#include <csignal>
- #include "SymbolTable.hpp"
- #include "Types.hpp"
- #include "MexInterface.hpp"
---- ./libs/libFreeMat/Math.cpp.orig 2008-05-20 15:42:37.000000000 +0100
-+++ ./libs/libFreeMat/Math.cpp 2008-05-20 15:44:27.000000000 +0100
-@@ -26,7 +26,7 @@
- #include "EigenDecompose.hpp"
- #include "Malloc.hpp"
- #include "Sparse.hpp"
--#include <math.h>
-+#include <cmath>
-
- // Sparse ops: +, -, neg, *
-
---- ./libs/libFreeMat/LeastSquaresSolver.cpp.orig 2008-05-20 15:42:17.000000000 +0100
-+++ ./libs/libFreeMat/LeastSquaresSolver.cpp 2008-05-20 15:44:51.000000000 +0100
-@@ -19,8 +19,8 @@
-
- #include "LeastSquaresSolver.hpp"
- #include "LAPACK.hpp"
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include "Malloc.hpp"
-
- #define MSGBUFLEN 2048
---- ./libs/libFreeMat/LinearEqSolver.cpp.orig 2008-05-20 15:42:26.000000000 +0100
-+++ ./libs/libFreeMat/LinearEqSolver.cpp 2008-05-20 15:44:41.000000000 +0100
-@@ -19,8 +19,8 @@
-
- #include "LinearEqSolver.hpp"
- #include "LAPACK.hpp"
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include <iostream>
- #include "Malloc.hpp"
-
---- ./libs/libFreeMat/MatrixMultiply.cpp.orig 2008-05-20 15:42:45.000000000 +0100
-+++ ./libs/libFreeMat/MatrixMultiply.cpp 2008-05-20 15:44:16.000000000 +0100
-@@ -18,9 +18,9 @@
- */
-
- #include "MatrixMultiply.hpp"
--#include <math.h>
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cmath>
-+#include <cstdlib>
-+#include <cstdio>
-
- extern "C" {
- void sgemm_ (char * ta, char* tb, int* m, int* n, int* k, float *alp,
---- ./libs/libFreeMat/Print.cpp.orig 2008-05-20 15:42:54.000000000 +0100
-+++ ./libs/libFreeMat/Print.cpp 2008-05-20 15:43:58.000000000 +0100
-@@ -2,7 +2,7 @@
- #include "FunctionDef.hpp"
- #include "Interpreter.hpp"
- #include <math.h>
--#include <string.h>
-+#include <cstring>
-
- #define MSGBUFLEN 2048
-
---- ./libs/libFreeMat/QRDecompose.cpp.orig 2008-05-20 15:43:12.000000000 +0100
-+++ ./libs/libFreeMat/QRDecompose.cpp 2008-05-20 15:43:45.000000000 +0100
-@@ -19,8 +19,8 @@
-
- #include "QRDecompose.hpp"
- #include "LAPACK.hpp"
--#include <stdlib.h>
--#include <stdio.h>
-+#include <cstdlib>
-+#include <cstdio>
- #include "Malloc.hpp"
-
- #define MIN(a,b) (((a) < (b)) ? (a) : (b))
---- ./libs/libXP/System.cpp.orig 2008-03-14 15:43:11.000000000 +0000
-+++ ./libs/libXP/System.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -18,7 +18,7 @@
- */
- #include "System.hpp"
- #include "Exception.hpp"
--#include <stdlib.h>
-+#include <cstdlib>
- #include <QProcess>
- #include <QtGui>
- #ifdef Q_OS_WIN32
---- ./libs/libMex/mxArray.cpp.orig 2008-03-14 15:43:03.000000000 +0000
-+++ ./libs/libMex/mxArray.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -17,8 +17,8 @@
- *
- */
- #include "mex.h"
--#include <string.h>
--#include <stdlib.h>
-+#include <cstring>
-+#include <cstdlib>
- #include <set>
- #include <string>
-
---- ./libs/libGraphics/HandleCommands.cpp.orig 2008-03-14 15:43:05.000000000 +0000
-+++ ./libs/libGraphics/HandleCommands.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -27,7 +27,7 @@
- #include <qgl.h>
- #include <QtGui>
- #include <QtSvg>
--#include <ctype.h>
-+#include <cctype>
- #include <algorithm>
- #include "HandleLineSeries.hpp"
- #include "HandleObject.hpp"
---- ./src/main.cpp.orig 2008-03-14 15:42:59.000000000 +0000
-+++ ./src/main.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -20,9 +20,9 @@
- #include <QtGui>
- #include <QDebug>
- #include <unistd.h>
--#include <signal.h>
--#include <stdio.h>
--#include <stdlib.h>
-+#include <csignal>
-+#include <cstdio>
-+#include <cstdlib>
- #include "MainApp.hpp"
- #include <qapplication.h>
- #include "Exception.hpp"
---- ./src/MainApp.cpp.orig 2008-03-16 20:00:20.000000000 +0000
-+++ ./src/MainApp.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -46,7 +46,7 @@
- #include <unistd.h>
- #include <fcntl.h>
- #include <qsocketnotifier.h>
--#include <signal.h>
-+#include <csignal>
- #include <unistd.h>
-
- sig_t signal_suspend_default;
---- ./src/DumbTerminal.cpp.orig 2008-03-14 15:42:59.000000000 +0000
-+++ ./src/DumbTerminal.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -20,7 +20,7 @@
- #include "DumbTerminal.hpp"
- #include <qapplication.h>
- #include <qeventloop.h>
--#include <stdio.h>
-+#include <cstdio>
- #include <unistd.h>
-
- DumbTerminal::DumbTerminal() {
---- ./src/Terminal.cpp.orig 2008-03-14 15:42:59.000000000 +0000
-+++ ./src/Terminal.cpp 2008-05-20 17:18:36.000000000 +0100
-@@ -19,11 +19,11 @@
- #include <qapplication.h>
- #include "Serialize.hpp"
- #include "Terminal.hpp"
--#include <errno.h>
-+#include <cerrno>
- #include <unistd.h>
--#include <stdio.h>
--#include <stdlib.h>
--#include <string.h>
-+#include <cstdio>
-+#include <cstdlib>
-+#include <cstring>
- #ifdef Q_WS_X11
- #include <term.h>
- #include <curses.h>
diff --git a/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch b/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch
deleted file mode 100644
index b7b0020a46b3..000000000000
--- a/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch
+++ /dev/null
@@ -1,91 +0,0 @@
---- acinclude.m4.orig 2008-03-24 00:40:28.000000000 +0000
-+++ acinclude.m4 2008-03-24 01:40:37.000000000 +0000
-@@ -304,6 +304,11 @@
- need_extern="no"
- LIBS="$LIBS $FLIBS"
-
-+AC_ARG_ENABLE(portaudio,
-+ [--enable-portaudio],
-+ [enable_portaudio=$enableval])
-+if test x"$enable_portaudio" = x"yes"; then
-+
- AC_CHECK_LIB(portaudio,Pa_GetDefaultInputDevice,found_portaudio19="yes",found_portaudio19="no")
- AC_CHECK_HEADER(portaudio.h,[],found_portaudio19="no")
-
-@@ -330,6 +335,7 @@
- else
- found_portaudio="no";
- fi
-+fi
-
- AC_CHECK_LIB(pcre,pcre_compile,found_pcre="yes",found_pcre="no")
- AC_CHECK_HEADER(pcre.h,[],found_pcre="no")
-@@ -339,6 +345,11 @@
- AC_DEFINE(HAVE_PCRE, 1, [Set to 1 if you have libpcre])
- fi
-
-+
-+AC_ARG_ENABLE(ffcall,
-+ [--enable-ffcall],
-+ [enable_ffcall=$enableval])
-+if test x"$enable_ffcall" = x"yes"; then
- AC_CHECK_LIB(avcall,__structcpy,found_avcall="yes",found_avcall="no")
- AC_CHECK_HEADER(avcall.h,[],found_avcall="no")
-
-@@ -346,7 +357,7 @@
- LIBS="-lavcall $LIBS"
- AC_DEFINE(HAVE_AVCALL, 1, [Set to 1 if you have libavcall])
- fi
--
-+fi
- if test x"$is_osx" == xyes; then
- LIBS="$LIBS -framework vecLib"
- found_blas="yes"
-@@ -362,6 +373,10 @@
- fi
- fi
-
-+AC_ARG_ENABLE(umfpack,
-+ [--enable-umfpack],
-+ [enable_umfpack=$enableval])
-+if test x"$enable_umfpack" = x"yes"; then
- AC_CHECK_LIB(amd,amd_postorder,found_amd="yes",found_amd="no")
- AC_CHECK_HEADER(amd.h,found_amdh="yes",found_amdh="no")
- if test x"$found_amdh" == xno; then
-@@ -405,10 +420,15 @@
- if (test x"$found_amdh" == xyes) && (test x"$found_amd" == xyes) && (test x"$found_umfpackh" == xyes) && (test x"$found_umfpack" == xyes); then
- AC_DEFINE(HAVE_UMFPACK, 1, [Set to 1 if you have UMFPACK])
- fi
-+fi
-
- dnl PKG_CHECK_MODULES(fftw3, fftw3 >= 3.1.0, found_fftw3="yes", found_fftw3="no")
- dnl PKG_CHECK_MODULES(fftw3f, fftw3f >= 3.1.0, found_fftw3f="yes", found_fftw3f="no")
-
-+AC_ARG_ENABLE(fftw,
-+ [--enable-fftw],
-+ [enable_fftw=$enableval])
-+if test x"$enable_fftw" = x"yes"; then
- AC_CHECK_LIB(fftw3f,fftwf_malloc,found_fftw3f="yes",found_fftw3f="no")
- AC_CHECK_LIB(fftw3,fftw_malloc,found_fftw3="yes",found_fftw3="no")
- AC_CHECK_HEADER(fftw3.h,[],[found_fftw3="no";found_fftw3f="no"])
-@@ -422,6 +442,12 @@
- LIBS="-lfftw3 $LIBS"
- AC_DEFINE(HAVE_FFTW, 1, [Set to 1 if you have the double precision version of FFTW installed])
- fi
-+fi
-+
-+AC_ARG_ENABLE(arpack,
-+ [--enable-arpack],
-+ [enable_arpack=$enableval])
-+if test x"$enable_arpack" = x"yes"; then
-
- AC_F77_FUNC(znaupd)
- if test x"$znaupd" == x"unknown"; then
-@@ -441,6 +467,7 @@
- AC_DEFINE(HAVE_ARPACK, 1, [Set to 1 if you have ARPACK installed])
- fi
- fi
-+fi
-
- AC_CHECK_LIB(z,inflate,found_z="yes",found_z="no")
- if test x"$found_z" == xyes; then
diff --git a/sci-mathematics/freemat/freemat-3.6.ebuild b/sci-mathematics/freemat/freemat-3.6.ebuild
deleted file mode 100644
index f6a9b0a1fba1..000000000000
--- a/sci-mathematics/freemat/freemat-3.6.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.10 2009/11/27 18:40:14 bicatali Exp $
-
-EAPI="2"
-inherit eutils autotools fdo-mime virtualx
-
-MY_PN=FreeMat
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Environment for rapid engineering and scientific processing"
-HOMEPAGE="http://freemat.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz"
-
-IUSE="+arpack ffcall +fftw ncurses portaudio test +umfpack"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="x11-libs/qt-gui:4
- x11-libs/qt-opengl:4
- x11-libs/qt-svg:4
- dev-libs/libpcre
- virtual/lapack
- virtual/opengl
- ncurses? ( >=sys-libs/ncurses-5.4 )
- umfpack? ( sci-libs/umfpack )
- arpack? ( sci-libs/arpack )
- fftw? ( sci-libs/fftw:3.0 )
- portaudio? ( media-libs/portaudio )
- ffcall? ( dev-libs/ffcall )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- test? (
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # allow enable/disable for configure
- epatch "${FILESDIR}"/${P}-optional-deps.patch
- epatch "${FILESDIR}"/${P}-includes.patch
- epatch "${FILESDIR}"/${P}-gcc44.patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-blas="$(pkg-config --libs blas)" \
- --with-lapack="$(pkg-config --libs lapack)" \
- $(use_with ncurses) \
- $(use_enable umfpack) \
- $(use_enable arpack) \
- $(use_enable fftw) \
- $(use_enable portaudio) \
- $(use_enable ffcall) \
- LLVM_CONFIG=no
-}
-
-src_test () {
- Xemake check || die "emake check failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog || die "dodoc failed"
- newicon images/freemat_small_mod_64.png ${PN}.png
- make_desktop_entry FreeMat FreeMat
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- elog "Before using ${MY_PN}, do (as a normal user)"
- elog "FreeMat -i /usr/share/${MY_P}"
- elog "Then start ${MY_PN}, choose Tools -> Path Tool,"
- elog "select /usr/share/${MY_P}/toolbox and Add With Subfolders"
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}