summaryrefslogtreecommitdiff
path: root/net/wireshark/files/extrapatch-configure-qt5
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-02-18 19:48:05 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-02-18 19:48:05 +0000
commitf3c180c3431372077934f7658922b8a244419bdf (patch)
tree4d04227f02c7fda007ad74be01e1393168277b0b /net/wireshark/files/extrapatch-configure-qt5
parentUpgrade from 2.2 to 2.3. (diff)
Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more
* Update Qt5 to 5.7.1 * Move Qt4 binaries to lib/qt4/bin * Move Qt5 libraries to lib/qt5/lib By moving the libraries we should finally be able to get rid of the inplace upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries were lying in /usr/local/lib, which would often get added by pkgconfig to the linker paths via dependencies, the already installed libraries were linked against, instead of the ones that were being built. This forced us to make sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the linker flags. With this change this should no longer be the case. * Rename some ports to match the rest (foo-qtX -> qtX-foo) * Depend on new port misc/qtchooser [see UPDATING & CHANGES] There are several new Qt5 ports which all have been created by Marie Loise Nolden <nolden@kde.org>. Thanks again. PR: 216797 Exp-Run by: antoine Reviewed by: rakuco, mat, groot_kde.org Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D9213
Diffstat (limited to 'net/wireshark/files/extrapatch-configure-qt5')
-rw-r--r--net/wireshark/files/extrapatch-configure-qt537
1 files changed, 37 insertions, 0 deletions
diff --git a/net/wireshark/files/extrapatch-configure-qt5 b/net/wireshark/files/extrapatch-configure-qt5
new file mode 100644
index 000000000000..cfe84de16313
--- /dev/null
+++ b/net/wireshark/files/extrapatch-configure-qt5
@@ -0,0 +1,37 @@
+Work around the buggy detection of the Qt tools via qtchooser, which adds the -qt=foo
+flag even though the found tool is not qtchooser.
+
+--- configure.orig 2017-02-09 18:02:53 UTC
++++ configure
+@@ -47562,7 +47562,6 @@ fi
+ #
+ # Add the -qt={version} argument to it.
+ #
+- UIC="$UIC -qt=$qt_version"
+ else
+ #
+ # Annoyingly, on some Linux distros (e.g. Debian)
+@@ -47740,7 +47739,6 @@ fi
+ #
+ # Add the -qt={version} argument to it.
+ #
+- MOC="$MOC -qt=$qt_version"
+ else
+ #
+ # Annoyingly, on some Linux distros (e.g. Debian)
+@@ -47918,7 +47916,6 @@ fi
+ #
+ # Add the -qt={version} argument to it.
+ #
+- RCC="$RCC -qt=$qt_version"
+ else
+ #
+ # Annoyingly, on some Linux distros (e.g. Debian)
+@@ -48097,7 +48094,6 @@ fi
+ #
+ # Add the -qt={version} argument to it.
+ #
+- LRELEASE="$LRELEASE -qt=$qt_version"
+ else
+ #
+ # Annoyingly, on some Linux distros (e.g. Debian)