git: d5acaf996c06 - main - graphics/xpdf4: fix build if qt6 installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jan 2024 18:27:08 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d5acaf996c060ddc8df93e73010c811256110de9
commit d5acaf996c060ddc8df93e73010c811256110de9
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:13:50 +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
---
graphics/xpdf4/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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}"