aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2017-02-19 03:48:05 +0800
committertcberner <tcberner@FreeBSD.org>2017-02-19 03:48:05 +0800
commit3b326c79a89e9fb337c48a00eeb7f6124bb59e42 (patch)
tree4d04227f02c7fda007ad74be01e1393168277b0b /cad
parent2f44a1d12d3882f9ebf589518bf7052e233f22e8 (diff)
downloadfreebsd-ports-gnome-3b326c79a89e9fb337c48a00eeb7f6124bb59e42.tar.gz
freebsd-ports-gnome-3b326c79a89e9fb337c48a00eeb7f6124bb59e42.tar.zst
freebsd-ports-gnome-3b326c79a89e9fb337c48a00eeb7f6124bb59e42.zip
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 'cad')
-rw-r--r--cad/klayout/files/patch-build.sh14
-rw-r--r--cad/klayout/files/patch-src-Makefile.rules13
2 files changed, 0 insertions, 27 deletions
diff --git a/cad/klayout/files/patch-build.sh b/cad/klayout/files/patch-build.sh
index 07040839e32c..379b4160d2b9 100644
--- a/cad/klayout/files/patch-build.sh
+++ b/cad/klayout/files/patch-build.sh
@@ -28,20 +28,6 @@
if [ "$gcc_path" = "" ]; then
echo "*** ERROR: unable to locate gcc in path"
exit 1
-@@ -398,11 +401,11 @@ mac-*)
- ;;
- esac
-
--if [ ! -r $QTBIN/moc ]; then
-+if [ ! -r $QTBIN/moc-qt4 ]; then
- echo "*** ERROR: unable to locate Qt MOC in $QTBIN"
- exit 1
- fi
--if [ ! -r $QTBIN/uic ]; then
-+if [ ! -r $QTBIN/uic-qt4 ]; then
- echo "*** ERROR: unable to locate Qt UIC in $QTBIN"
- exit 1
- fi
@@ -463,11 +466,7 @@ else
cd $CURR_DIR
fi
diff --git a/cad/klayout/files/patch-src-Makefile.rules b/cad/klayout/files/patch-src-Makefile.rules
deleted file mode 100644
index fcb78eab81c1..000000000000
--- a/cad/klayout/files/patch-src-Makefile.rules
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/Makefile.rules.orig 2016-06-19 16:35:32 UTC
-+++ src/Makefile.rules
-@@ -73,8 +73,8 @@ ifeq ($(LOPT_TEST),)
- LOPT_TEST=$(LOPT)
- endif
-
--MOC=$(QTBIN)/moc
--UIC=$(QTBIN)/uic
-+MOC=$(QTBIN)/moc-qt4
-+UIC=$(QTBIN)/uic-qt4
- RCC=$(QTBIN)/rcc
-
- TESTSRC=$(TOP_SOURCE)/..