Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2020 03:11:10 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529074 - head/graphics/xpdf4
Message-ID:  <202003250311.02P3BA4L025361@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003250311.02P3BA4L025361>