summaryrefslogtreecommitdiff
path: root/devel/qt5/files
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-03-03 16:50:32 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-03-03 16:50:32 +0000
commit4cd1e8830ecdea3996915303a7cdb1aaaec56ca8 (patch)
tree0facf8a13da71e87170cdfcf5902ed77d09cb72f /devel/qt5/files
parent- Remove leading article from COMMENT (diff)
KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
Notes
Notes: svn path=/head/; revision=346930
Diffstat (limited to 'devel/qt5/files')
-rw-r--r--devel/qt5/files/extrapatch-configure11
-rw-r--r--devel/qt5/files/pkg-deinstall.in15
2 files changed, 26 insertions, 0 deletions
diff --git a/devel/qt5/files/extrapatch-configure b/devel/qt5/files/extrapatch-configure
new file mode 100644
index 000000000000..d9ecfa5179db
--- /dev/null
+++ b/devel/qt5/files/extrapatch-configure
@@ -0,0 +1,11 @@
+--- ./configure.orig 2013-10-22 01:49:15.000000000 -0700
++++ ./configure 2013-11-04 07:23:05.115448412 -0800
+@@ -4073,7 +4073,7 @@
+ }
+
+ # build qmake
+-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
++if [ '!' -e "$outpath/bin/qmake" ]; then
+ echo "Creating qmake..."
+
+ mkdir -p "$outpath/qmake" || exit
diff --git a/devel/qt5/files/pkg-deinstall.in b/devel/qt5/files/pkg-deinstall.in
new file mode 100644
index 000000000000..b1d91c8b298e
--- /dev/null
+++ b/devel/qt5/files/pkg-deinstall.in
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+case $2 in
+POST-DEINSTALL)
+ sed -i "" '/qconfig-%%QT_MODNAME%%\.h/ d' \
+ %%QT_INCDIR%%/QtCore/qconfig-modules.h 2>/dev/null || true
+ [ \! -e %%QT_INCDIR%%/QtCore/qconfig.h ] &&
+ [ \! -s %%QT_INCDIR%%/QtCore/qconfig-modules.h ] &&
+ ( rm -f %%QT_INCDIR%%/QtCore/qconfig-modules.h 2>/dev/null
+ rmdir %%QT_INCDIR%%/QtCore 2>/dev/null
+ rmdir %%QT_INCDIR%% 2>/dev/null ) || true
+ ;;
+esac