octave: fix for Qt 5.12 compatibility (#35904)
This commit is contained in:
parent
465817a507
commit
51bfe28bf1
1 changed files with 7 additions and 1 deletions
|
@ -65,7 +65,13 @@ class Octave < Formula
|
||||||
inreplace "src/mkoctfile.in.cc", /%OCTAVE_CONF_OCT(AVE)?_LINK_(DEPS|OPTS)%/, '""'
|
inreplace "src/mkoctfile.in.cc", /%OCTAVE_CONF_OCT(AVE)?_LINK_(DEPS|OPTS)%/, '""'
|
||||||
|
|
||||||
args = []
|
args = []
|
||||||
args << "--without-qt" if build.without? "qt"
|
if build.with? "qt"
|
||||||
|
# Stuff for Qt 5.12 compatibility
|
||||||
|
# https://savannah.gnu.org/bugs/?55187
|
||||||
|
ENV["QCOLLECTIONGENERATOR"]="qhelpgenerator"
|
||||||
|
else
|
||||||
|
args << "--without-qt"
|
||||||
|
end
|
||||||
|
|
||||||
system "./bootstrap" if build.head?
|
system "./bootstrap" if build.head?
|
||||||
system "./configure", "--prefix=#{prefix}",
|
system "./configure", "--prefix=#{prefix}",
|
||||||
|
|
Loading…
Reference in a new issue