ports/52898:

Samy Al Bahra samy at kerneled.com
Tue Jun 3 13:20:19 UTC 2003


>Number:         52898
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 03 06:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        FreeBSD 5.1-BETA i386
>Organization:
Kerneled 
>Environment:


System: FreeBSD beastie.freebsd.local 5.1-BETA FreeBSD 5.1-BETA #5: Thu May 29 07:42:10 AST 2003     root at chucky.freebsd.local:/usr/obj/usr/src/sys/KERNELED i386  


>Description:


The GTK20 port is troublesome on systems using Xft1
(Xft support will be off by default). This patch provides
an option to FORCE Xft support into any build.


>How-To-Repeat:


Build GTK20 on a system using Xft1


>Fix:


Here is the patch, please apply it inside the gtk20 port (it patches the Makefile)

--- Makefile    Sat May  3 20:08:16 2003
+++ /home/samy/development/ports/gtk20/Makefile Tue Jun  3 16:20:02 2003
@@ -44,6 +44,19 @@
 
 MAN1=          gdk-pixbuf-csource.1
 
+.if defined(WITH_XFT)
+MAKE_ENV+= GDK_USE_XFT=1
+.endif
+
+pre-everything:
+       @${ECHO} ""
+       @${ECHO} "To force usage of Xft (needed for Xft"
+       @${ECHO} "support for Xft1) you must use the"
+       @${ECHO} "following options"
+       @${ECHO} ""
+       @${ECHO} "      WITH_XFT=yes  Use Xft with Xft1"
+       @${ECHO} ""
+
 post-patch:
        @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \
                xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'



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



More information about the freebsd-ports-bugs mailing list