Subject: Re: pkg/35397: "fontconfig" broken if "ghostscript is not installed
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 01/11/2007 10:30:02
The following reply was made to PR pkg/35397; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35397: "fontconfig" broken if "ghostscript is not installed
Date: Thu, 11 Jan 2007 11:26:45 +0100

 --Boundary_(ID_TLW3FMEalvGXYMwmyAHUBA)
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: 7BIT
 Content-Disposition: inline
 
 On Wed, Jan 10, 2007 at 06:10:00PM +0000, Matthias Scheler wrote:
 > After upgrading to the latest version of the "fontconfig" package I can't
 > start "x-chat" any more on my Mac OS X system:
 
 Idiotic configure. Does the attached patch fix it?
 
 Joerg
 
 --Boundary_(ID_TLW3FMEalvGXYMwmyAHUBA)
 Content-Type: text/plain; charset="us-ascii"; name="Makefile.diff"
 Content-Transfer-Encoding: 7BIT
 Content-Disposition: attachment; filename="Makefile.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/fonts/fontconfig/Makefile,v
 retrieving revision 1.61
 diff -u -r1.61 Makefile
 --- Makefile	9 Jan 2007 08:58:29 -0000	1.61
 +++ Makefile	11 Jan 2007 10:25:43 -0000
 @@ -33,10 +33,10 @@
  .include "../../mk/bsd.prefs.mk"
  
  .if ${X11BASE} != ${LOCALBASE}
 -CONFIGURE_ARGS+=	--with-add-fonts=${X11BASE}/lib/X11/fonts
 -.endif
 -
 +CONFIGURE_ARGS+=	--with-add-fonts=${X11BASE}/lib/X11/fonts,${PREFIX}/share/ghostscript/fonts
 +.else
  CONFIGURE_ARGS+=	--with-add-fonts=${PREFIX}/share/ghostscript/fonts
 +.endif
  
  .if ${OPSYS} == "Darwin"
  CONFIGURE_ARGS+=	--with-arch=${MACHINE_ARCH}
 
 --Boundary_(ID_TLW3FMEalvGXYMwmyAHUBA)--