svn commit: r529074 - head/graphics/xpdf4

Cy Schubert cy at FreeBSD.org
Wed Mar 25 03:11:19 UTC 2020


Author: cy
Date: Wed Mar 25 03:11:10 2020
New Revision: 529074
URL: https://svnweb.freebsd.org/changeset/ports/529074

Log:
  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

Modified:
  head/graphics/xpdf4/Makefile   (contents, props changed)

Modified: head/graphics/xpdf4/Makefile
==============================================================================
--- head/graphics/xpdf4/Makefile	Wed Mar 25 02:43:21 2020	(r529073)
+++ head/graphics/xpdf4/Makefile	Wed Mar 25 03:11:10 2020	(r529074)
@@ -38,7 +38,7 @@ CMAKE_ARGS+=	-DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIN
 
 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
 
@@ -59,6 +59,10 @@ PRINT_CMAKE_OFF=	-DXPDFWIDGET_PRINTING:BOOL=OFF -DCUPS
 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}; \


More information about the svn-ports-head mailing list