aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2016-11-21 20:14:43 +0800
committertcberner <tcberner@FreeBSD.org>2016-11-21 20:14:43 +0800
commit196366a43a53593e1c6fb268e0325dff1d53e65a (patch)
tree8aa0feb019539e1dff6d0e60aefa3874cd3987bc /www
parent8b1e9b055e393da5bb59b2e0bed80a318cf5110d (diff)
downloadfreebsd-ports-graphics-196366a43a53593e1c6fb268e0325dff1d53e65a.tar.gz
freebsd-ports-graphics-196366a43a53593e1c6fb268e0325dff1d53e65a.tar.zst
freebsd-ports-graphics-196366a43a53593e1c6fb268e0325dff1d53e65a.zip
www/qupzilla-qt4: Repair the KWALLET option
The recent move of all the KDE4 includes into ${LOCALBASE}/include/kde4 broke the KWALLET option. This patch fixes the option by inserting the right include path. Also, convert USE_OPENSSL to USES=ssl. PR: 214531 Submitted by: Matthew Rezny <matthew@reztek.cz> (maintainer) Approved by: rakuco (mentor)
Diffstat (limited to 'www')
-rw-r--r--www/qupzilla-qt4/Makefile5
-rw-r--r--www/qupzilla-qt4/files/patch-src_plugins_KWalletPasswords_KWalletPasswords.pro10
2 files changed, 13 insertions, 2 deletions
diff --git a/www/qupzilla-qt4/Makefile b/www/qupzilla-qt4/Makefile
index 6780ba0518d..0b8061a9140 100644
--- a/www/qupzilla-qt4/Makefile
+++ b/www/qupzilla-qt4/Makefile
@@ -16,12 +16,11 @@ LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell
CONFLICTS_INSTALL= ${PORTNAME}-qt5*
-USES= desktop-file-utils execinfo pkgconfig qmake tar:xz
+USES= desktop-file-utils execinfo pkgconfig qmake ssl tar:xz
USE_QT4= corelib gui network script sql webkit xml \
linguisttools_build moc_build rcc_build uic_build \
imageformats_run sql-sqlite3_run
USE_XORG= x11
-USE_OPENSSL= yes
CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
@@ -49,5 +48,7 @@ post-patch:
${WRKSRC}/src/install.pri \
${WRKSRC}/src/defines.pri \
${WRKSRC}/src/lib/plugins/plugins.cpp
+ @${REINPLACE_CMD} -e 's|%%KDE4_INC%%|${LOCALBASE}/include/kde4|g' \
+ ${WRKSRC}/src/plugins/KWalletPasswords/KWalletPasswords.pro
.include <bsd.port.mk>
diff --git a/www/qupzilla-qt4/files/patch-src_plugins_KWalletPasswords_KWalletPasswords.pro b/www/qupzilla-qt4/files/patch-src_plugins_KWalletPasswords_KWalletPasswords.pro
new file mode 100644
index 00000000000..ba2ffb194fc
--- /dev/null
+++ b/www/qupzilla-qt4/files/patch-src_plugins_KWalletPasswords_KWalletPasswords.pro
@@ -0,0 +1,10 @@
+--- src/plugins/KWalletPasswords/KWalletPasswords.pro.orig 2016-11-15 12:42:46 UTC
++++ src/plugins/KWalletPasswords/KWalletPasswords.pro
+@@ -55,6 +55,7 @@ isEqual(QT_MAJOR_VERSION, 5) {
+ QT += KWallet
+ } else {
+ LIBS += -lkdeui
++ INCPATH += %%KDE4_INC%%
+ }
+
+ PLUGIN_DIR = $$PWD