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:13:50 +0000
commitd5acaf996c060ddc8df93e73010c811256110de9 (patch)
tree7b39e4f32811fac6118d7277350af12fbda203c8
parent542634bd821dfa2212d76a7e8fb93cb639287afe (diff)
downloadports-d5acaf996c060ddc8df93e73010c811256110de9.tar.gz
ports-d5acaf996c060ddc8df93e73010c811256110de9.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
-rw-r--r--graphics/xpdf4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xpdf4/Makefile b/graphics/xpdf4/Makefile
index b187ce0c907f..2fd44291e957 100644
--- a/graphics/xpdf4/Makefile
+++ b/graphics/xpdf4/Makefile
@@ -35,7 +35,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}"