diff options
Diffstat (limited to 'devel/qt5/files')
-rw-r--r-- | devel/qt5/files/extrapatch-configure | 11 | ||||
-rw-r--r-- | devel/qt5/files/pkg-deinstall.in | 15 |
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 |