Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 20:53:31 +0300 (MSK)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50009: 
Message-ID:  <200303141753.h2EHrVUC049813@road.demos.su>

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

>Number:         50009
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 09:50:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD road.demos.su 4.8-RC FreeBSD 4.8-RC #2: Tue Mar 4 15:43:13 MSK 2003 gvs@road.demos.su:/usr/local/obj/usr/local/src/sys/ROAD i386


	
>Description:
	While updating XFree86-4* ports for XFree86 4.3.0 several important things
	were missed, e.g. expat, and freetype related site definitions. It results
	to older and outdated libexpat and libfreetype to be built and installed into
	/usr/X11R6 tree causing a bit of inconvenience and mesh.
>How-To-Repeat:
	cvs/cvsup your ports/x11, cd ports/x11/XFree86-4-libraries and type make.
	After build is done, try

	find work/xc -name libexpat* -ls

	and the same for freetype. As far as you can see, They ARE built and will be
	installed into /usr/X11R6/lib tree. Moreover, the related X apps and libs
	can be (and some already) linked against those oldies.
>Fix:

	Apply patch below, rebuild and reinstall libraries.


--- scripts/configure.orig	Fri Mar 14 20:40:36 2003
+++ scripts/configure	Fri Mar 14 20:42:30 2003
@@ -55,6 +55,11 @@
 echo "#define FreeBSDBuildXlib YES"		>> $LOCALDEF
 echo "#define FreeBSDBuildXbin NO"		>> $LOCALDEF
 echo "#define UseInstalledPrograms YES"		>> $LOCALDEF
+echo '#define HasExpat YES
+#define HasFreetype2    YES
+#define Freetype2Dir    /usr/local
+#define PreloadXFTSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libXft.so.? libXrender.so.? libfontconfig.so.?)`'					    >> $LOCALDEF
+
 
 # Copy ORIGDEF to DESTDEF
 rm -f $DESTDEF


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303141753.h2EHrVUC049813>