ports/110632: [patch] x11-fonts/linux-fontconfig is not X11BASE clean

Karol Kwiatkowski karol.kwiat at gmail.com
Wed Mar 21 17:40:19 UTC 2007


>Number:         110632
>Category:       ports
>Synopsis:       [patch] x11-fonts/linux-fontconfig is not X11BASE clean
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 17:40:18 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Karol Kwiatkowski
>Release:        7.0-CURRENT
>Organization:
>Environment:
X11BASE=/usr/local

FreeBSD persephone.orchid.homeunix.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Mar 18 23:55:31 CET 2007     root at persephone.orchid.homeunix.org:/mnt/big/FreeBSD/obj/usr/src/sys/PERSEPHONE  i386

linux-fontconfig-2.2.3_6
>Description:
New version of x11-fonts/linux-fontconfig installs a custom fonts.conf file (from port's files/ directory) which is not X11BASE clean.

It contains this line:
<dir>/usr/X11R6/lib/X11/fonts</dir>
>How-To-Repeat:
Install x11-fonts/linux-fontconfig in environment with X11BASE set to something other then /usr/X11R6.

Effect: programs relying on it (like skype) will not be able to render fonts.
>Fix:
Replace /usr/X11R6 with ${X11BASE} in ${PREFIX}/etc/fonts/fonts.conf after installation.

Patch attached.

Patch attached with submission follows:

--- x11-fonts/linux-fontconfig/Makefile.orig	Mon Mar 19 06:13:58 2007
+++ x11-fonts/linux-fontconfig/Makefile	Wed Mar 21 15:53:55 2007
@@ -29,5 +29,6 @@
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf
+	${REINPLACE_CMD} -i '' -e "s|/usr/X11R6|${X11BASE}|g" ${PREFIX}/etc/fonts/fonts.conf
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list