Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2008 12:31:10 -0800 (AKDT)
From:      Mel <mel@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        MAINTAINER <hrs@FreeBSD.org>
Subject:   ports/123576: [PATCH] teTeX-base depends on libXt
Message-ID:  <20080510203110.1991E62358@portbuild-6.x.rachie.is-a-geek.net>
Resent-Message-ID: <200805102050.m4AKo4nq023163@freefall.freebsd.org>

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

>Number:         123576
>Category:       ports
>Synopsis:       [PATCH] teTeX-base depends on libXt
>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:   Sat May 10 20:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD portbuild-6.x.rachie.is-a-geek.net 6.2-STABLE FreeBSD 7.0-STABLE #6: Thu May 1 08:13:00 AKDT 2008 root@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC-ULE i386


	
>Description:
teTex-base needs libXt to build x11.c, but only libX11 is specified as dependency.

This problem probably does not manifest itself, until you build t1lib without x11:

>From /etc/make.conf:

.if !empty(.CURDIR:M*graphics/php5-gd) || !empty(.CURDIR:M*devel/t1lib)
WITHOUT_X11=yes
.endif

This I need to build php5-gd without pulling in xorg-foo.
teTeX-base is in my situation pulled in by kdegraphics, so it seems logical
to leave X11 support in.
Since this is an unusual situation (i.e. would only happen on port build servers),
I'd understand if it's left as is. However, for completeness it would be nice if
it were recorded correctly(tm).

>How-To-Repeat:
Add the above to /etc/make.conf, build t1lib, build teTex-base.

>Fix:
--- Makefile.orig	2008-04-28 15:30:39.000000000 -0800
+++ Makefile	2008-05-10 12:08:31.000000000 -0800
@@ -110,7 +110,7 @@
 
 .if !defined(WITHOUT_X11)
 PLIST_SUB+=	X11BITS=""
-USE_XORG=	x11
+USE_XORG=	x11 xt
 .else
 FLAVOR+=	nox11
 CONFIGURE_ARGS+=--without-x11

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



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