1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

Circumvent an xpdf4 assertion under xfce when fontconfig is present.

This enables users to optionally build xpdf4 without fontconfig support
either through ports or via poudriere-options.

PR:		244968
Reported by:	Zane C. Bowers-Hadley <vvelox at vvelox.net>
MFH:		2020Q1
This commit is contained in:
Cy Schubert 2020-03-25 03:11:10 +00:00
parent e2c0f7e5bc
commit f29fe00fc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529074

View File

@ -38,7 +38,7 @@ CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \
PLIST_SUB= DESKTOPDIR="${DESKTOPDIR}"
OPTIONS_DEFINE= TYPE1 LIBPAPER PRINT GUI
OPTIONS_DEFINE= TYPE1 LIBPAPER PRINT GUI NO_FONTCONFIG
OPTIONS_DEFAULT= TYPE1 PRINT GUI
OPTIONS_SUB= yes
@ -60,6 +60,10 @@ PRINT_DESC= Print support (CUPS dependency)
PRINT_LDFLAGS= -L${LOCALBASE}/lib
PRINT_LIB_DEPENDS= libcups.so:print/cups
NO_FONTCONFIG_DESC= Disable use of libfontconfig (XFCE)
NO_FONTCONFIG_IMPLIES= GUI
NO_FONTCONFIG_CMAKE_BOOL= NO_FONTCONFIG
post-install:
@cd ${STAGEDIR}${PREFIX}; \
${LN} -sf ../libexec/xpdf/xpdf bin/xpdf