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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 17:40:18 GMT 2007
>Originator:     Karol Kwiatkowski
>Release:        7.0-CURRENT

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

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:
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.
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 @@
 	${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>


More information about the freebsd-ports-bugs mailing list