aboutsummaryrefslogtreecommitdiff
path: root/academic/octave/patches
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2014-02-04 09:40:57 +0100
committerErik Hanson <erik@slackbuilds.org>2014-02-08 11:10:27 -0600
commit49395366cda1ca6ff24b5cba6af073e564ec466f (patch)
treea4e4b5e6e5f91ce2f82b4896e7f7e47dc586a09a /academic/octave/patches
parent3795956fae85bb21d1ee25fb0a95cf8b276667a0 (diff)
academic/octave: Remove Qt5 detection.
Patch by Larry Hajali Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/octave/patches')
-rw-r--r--academic/octave/patches/no-qt5.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/academic/octave/patches/no-qt5.diff b/academic/octave/patches/no-qt5.diff
new file mode 100644
index 000000000000..48044ef831db
--- /dev/null
+++ b/academic/octave/patches/no-qt5.diff
@@ -0,0 +1,18 @@
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -2707,10 +2707,10 @@
+ fi
+
+ if test $build_gui = yes; then
+- AC_CHECK_TOOLS(MOC, [moc-qt5 moc-qt4 moc])
+- AC_CHECK_TOOLS(UIC, [uic-qt5 uic-qt4 uic])
+- AC_CHECK_TOOLS(RCC, [rcc-qt5 rcc-qt4 rcc])
+- AC_CHECK_TOOLS(LRELEASE, [lrelease-qt5 lrelease-qt4 lrelease])
++ AC_CHECK_TOOLS(MOC, [moc-qt4 moc])
++ AC_CHECK_TOOLS(UIC, [uic-qt4 uic])
++ AC_CHECK_TOOLS(RCC, [rcc-qt4 rcc])
++ AC_CHECK_TOOLS(LRELEASE, [lrelease-qt4 lrelease])
+ if test -n "$MOC" && test -n "$UIC" && test -n "$RCC" && test -n "$LRELEASE"; then
+ AC_DEFINE(HAVE_QT, 1,
+ [Define to 1 if Qt is available (libraries, developer header files, utility programs (moc, uic, rcc, and lrelease))])