Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2003 00:16:23 +0200
From:      plexus@snafu.de
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54518: Patch to build QT without XFT
Message-ID:  <E19cY5v-000FOG-JM@warpgondel2.xshare.com>
Resent-Message-ID: <200307152220.h6FMK1Fx010671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54518
>Category:       ports
>Synopsis:       Patch to build QT without XFT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 15 15:20:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Fischer
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
private
>Environment:
System: FreeBSD warpgondel2.xshare.com 5.1-RELEASE FreeBSD 5.1-RELEASE #7: Mon Jun 23 21:12:53 CEST 2003 root@warpgondel2.xshare.com:/usr/obj/usr/RELENG_5_1/sys/WARPGONDEL2 i386


	
>Description:
This is a patch for the Makefile of the QT31 port to disable the XFT support of QT.
I think this could be usefull for people who don't want XFT for some reasons...
>How-To-Repeat:

>Fix:



--- qt31makefile.patch begins here ---
Index: x11-toolkits/qt31/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/qt31/Makefile,v
retrieving revision 1.139
diff -p -r1.139 Makefile
*** x11-toolkits/qt31/Makefile	12 Jun 2003 16:02:22 -0000	1.139
--- x11-toolkits/qt31/Makefile	15 Jul 2003 22:12:48 -0000
*************** COMMENT=	A C++ X GUI toolkit
*** 22,29 ****
  
  LIB_DEPENDS+=	mng.1:${PORTSDIR}/graphics/libmng \
  		png.5:${PORTSDIR}/graphics/png \
! 		jpeg.9:${PORTSDIR}/graphics/jpeg \
! 		Xft.2:${PORTSDIR}/x11-fonts/Xft
  
  USE_BZIP2=	yes
  USE_GMAKE=	yes
--- 22,32 ----
  
  LIB_DEPENDS+=	mng.1:${PORTSDIR}/graphics/libmng \
  		png.5:${PORTSDIR}/graphics/png \
! 		jpeg.9:${PORTSDIR}/graphics/jpeg
! 
! .if !defined(WITHOUT_XFT)
! LIB_DEPENDS+=	Xft.2:${PORTSDIR}/x11-fonts/Xft
! .endif
  
  USE_BZIP2=	yes
  USE_GMAKE=	yes
*************** CONFIGURE_ARGS=	-system-libpng -system-l
*** 38,43 ****
--- 41,50 ----
  		-no-fast -xinerama -no-g++-exceptions -no-stl	\
  		${CUPS} -shared -prefix ${PREFIX} -datadir ${DATADIR} \
  		-docdir ${DOCSDIR} -plugindir ${PREFIX}/lib/plugins
+ 
+ .if defined(WITHOUT_XFT)
+ CONFIGURE_ARGS= -no-xft
+ .endif
  
  .if defined(DEBUG)
  CONFIGURE_ARGS+=	-debug
--- qt31makefile.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19cY5v-000FOG-JM>