git: 5aa409bdca62 - 2023Q4 - graphics/xpdf4: fix build if qt6 installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jan 2024 18:32:48 UTC
The branch 2023Q4 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5aa409bdca62c5f51c8ed93c4a460c310144b5e5
commit 5aa409bdca62c5f51c8ed93c4a460c310144b5e5
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-01-03 18:13:50 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-01-03 18:32:42 +0000
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)
---
graphics/xpdf4/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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}"