aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Druzenko <vvd@FreeBSD.org>2024-01-03 18:13:50 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-01-03 18:32:42 +0000
commit5aa409bdca62c5f51c8ed93c4a460c310144b5e5 (patch)
tree8a3112709b264742f6ac53daf62ef8714ff8adc2
parenta703d19f54f34ae8f0b547cac20e0695f873f469 (diff)
downloadports-5aa409bdca62c5f51c8ed93c4a460c310144b5e5.tar.gz
ports-5aa409bdca62c5f51c8ed93c4a460c310144b5e5.zip
graphics/xpdf4: fix build if qt6 installed
Temporary workaround with turn off qt6 search before upstream fixed qt6 support. Upstream aimed this in 4.05: https://forum.xpdfreader.com/viewtopic.php?t=42395 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D43295 MFH: 2024Q1 (cherry picked from commit d5acaf996c060ddc8df93e73010c811256110de9)
-rw-r--r--graphics/xpdf4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xpdf4/Makefile b/graphics/xpdf4/Makefile
index bce6bcc40823..f2869e83332f 100644
--- a/graphics/xpdf4/Makefile
+++ b/graphics/xpdf4/Makefile
@@ -34,7 +34,8 @@ CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \
-DCMAKE_INSTALL_BINDIR=${PREFIX}/libexec/xpdf \
-DCMAKE_INSTALL_MANDIR=${PREFIX}/share/xpdf/man \
-DNO_TEXT_SELECT:BOOL=OFF \
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets:BOOL=FALSE
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets:BOOL=FALSE \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets:BOOL=ON
CPE_VENDOR= xpdfreader
PLIST_SUB= DESKTOPDIR="${DESKTOPDIR}"