diff options
Diffstat (limited to 'academic/octave/patches/no-qt5.diff')
-rw-r--r-- | academic/octave/patches/no-qt5.diff | 18 |
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))]) |