summaryrefslogtreecommitdiff
path: root/editors/texstudio
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-11-08 18:57:00 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-11-08 18:57:00 +0000
commit2bf27373327c9fb50709f0c6c445f95cf0a2a65f (patch)
tree7b54f84e1011da7f5ce9fbc0d12231a107ad2355 /editors/texstudio
parentx11-wm/wayfire: update to 0.6.0 (diff)
archivers/quazip: update to 1.1
- fix / modify find calls and include directories in dependent ports
Notes
Notes: svn path=/head/; revision=554642
Diffstat (limited to 'editors/texstudio')
-rw-r--r--editors/texstudio/Makefile6
-rw-r--r--editors/texstudio/files/patch-texstudio.pro15
2 files changed, 17 insertions, 4 deletions
diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile
index 56abb6e2eb9a..e326051f3470 100644
--- a/editors/texstudio/Makefile
+++ b/editors/texstudio/Makefile
@@ -2,7 +2,7 @@
PORTNAME= texstudio
DISTVERSION= 3.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors
MAINTAINER= rigoletto@FreeBSD.org
@@ -15,14 +15,12 @@ BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
libpoppler.so:graphics/poppler \
libpoppler-qt5.so:graphics/poppler-qt5 \
- libquazip5.so:archivers/quazip
+ libquazip1-qt5.so:archivers/quazip
USES= compiler:c++11-lang desktop-file-utils dos2unix \
ghostscript:run gl pkgconfig qmake qt:5 xorg
USE_QT = core gui network script svg widgets xml \
printsupport concurrent uitools buildtools_build
-QMAKE_ARGS= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip5" \
- QUAZIP_LIB="-lquazip5"
QTVER_SUFFIX= 5
USE_XORG= x11
diff --git a/editors/texstudio/files/patch-texstudio.pro b/editors/texstudio/files/patch-texstudio.pro
new file mode 100644
index 000000000000..26d3e9e37969
--- /dev/null
+++ b/editors/texstudio/files/patch-texstudio.pro
@@ -0,0 +1,15 @@
+--- texstudio.pro.orig 2020-11-08 18:12:21 UTC
++++ texstudio.pro
+@@ -366,10 +366,8 @@ isEmpty(USE_SYSTEM_QUAZIP) {
+ include(src/quazip/quazip/quazip.pri)
+ } else {
+ message(System quazip5)
+- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
+- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
+- INCLUDEPATH += $${QUAZIP_INCLUDE}
+- LIBS += $${QUAZIP_LIB}
++ CONFIG += link_pkgconfig
++ PKGCONFIG += quazip1-qt5
+ }
+
+ include(src/pdfviewer/pdfviewer.pri)