Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 22:26:37 +0100
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Cc:        freebsd-stable@freebsd.org, James Long <james_mapson@umpquanet.com>, x11@freebsd.org
Subject:   Re: xorg-clients conflicts with xterm (patch)
Message-ID:  <200511162226.38335.dejan.lesjak@ijs.si>
In-Reply-To: <20051116032616.GA92903@ns.museum.rain.com>
References:  <20051116032616.GA92903@ns.museum.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 16 of November 2005 04:26, James Long wrote:
> After hours of head-banging over the past couple of days,
> I have finally succeeded in installing EITHER
> xorg-clients-6.8.2_1 OR xterm-206_1.  Previously,
> installing either port told me that it conflicted
> with the other, in spite of having cvsupped my
> ports tree twice to ensure I was getting the most
> recent version of the ports, hopefully including a
> fix to the chicken-and-egg problem noted in
> /usr/ports/UPDATING

x11/xorg-clients port does not conflict with any version of xterm. Where do 
you see that?

> Once I spotted an odd bit of output in the portupgrade
> dialogue, I made a change to xorg-clients Makefile
> which allowed everything to install.  pkgdb -F afterwards
> and all my dependencies are tidied up.
>
> May I suggest the following patch to
> /usr/ports/x11/xorg-clients/Makefile:
>
>
> --- Makefile	Sun Nov 13 21:47:34 2005
> +++ foo	Tue Nov 15 19:19:37 2005
> @@ -18,7 +18,7 @@
>  MAINTAINER=	x11@FreeBSD.org
>  COMMENT=	X client programs and related files from X.Org
>
> -RUN_DEPENDS=	xterm>0:${PORTSDIR}/x11/xterm
> +RUN_DEPENDS=	xterm:${PORTSDIR}/x11/xterm
>  LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
>  		Xft.2:${PORTSDIR}/x11-fonts/libXft

Versions of x11/xterm port prior to xterm-206_1 do not install 'xterm' 
executable. The above would cause xorg-clients port to try to install xterm 
even if xterm-206 (for example) is alredy installed which would then fail.


Dejan



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