[mythtv-commits] Ticket #12661: mythtv fails to build against anything that's not x86/amd64/armhf

MythTV noreply at mythtv.org
Mon Feb 22 22:54:10 UTC 2016


#12661: mythtv fails to build against anything that's not x86/amd64/armhf
----------------------------------+-----------------------------
 Reporter:  superm1@…             |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  Unspecified
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by superm1@…):

 Considering that I think this might be a more elegant way of solving the
 problem:

 {{{
 diff --git a/mythtv/configure b/mythtv/configure
 index c539b29..1768bfb 100755
 --- a/mythtv/configure
 +++ b/mythtv/configure
 @@ -5678,10 +5678,11 @@ is_qmake5(){
  }

  # qmake-qt5 /usr/lib64/qt5/bin/qmake /usr/lib/x86_64-linux-
 gnu/qt5/bin/qmake
 +TRIPLET=`gcc -print-multiarch`
  if [ x"$qmake" = "xqmake" ]; then
 -    CHECK_QMAKE="qmake-qt5 /usr/lib64/qt5/bin/qmake /usr/lib/x86_64
 -linux-gnu/qt5/bin/qmake /usr/lib/i386-linux-gnu/qt5/bin/qmake /usr/lib
 /arm-linux-gnueabihf/qt5/bin/qmake /usr/local/lib/qt5/bin/qmake
 +    CHECK_QMAKE="qmake-qt5 /usr/lib64/qt5/bin/qmake
 /usr/lib/$TRIPLET/qt5/bin/qmake /usr/local/lib/qt5/bin/qmake $qmake"
  else
 -    CHECK_QMAKE="$qmake qmake-qt5 /usr/lib64/qt5/bin/qmake
 /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /usr/lib/i386-linux-
 gnu/qt5/bin/qmake /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
 /usr/local/lib/qt5/bi
 +    CHECK_QMAKE="$qmake qmake-qt5 /usr/lib64/qt5/bin/qmake
 /usr/lib/$TRIPLET/qt5/bin/qmake  /usr/local/lib/qt5/bin/qmake"
  fi
  # try to find a qt5 qmake to use
  found_qmake=''
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12661#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list