Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 19:59:26 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Howard Goldstein <hg@queue.to>
Cc:        freebsd-x11@freebsd.org, kris@obsecurity.org
Subject:   Re: x11/x11-libraries build
Message-ID:  <20070508235926.GA99040@xor.obsecurity.org>
In-Reply-To: <464108DD.1040507@queue.to>
References:  <464100A7.5060200@queue.to> <20070508230300.GA98545@xor.obsecurity.org> <4641049F.70408@queue.to> <20070508232223.GA98863@xor.obsecurity.org> <464108DD.1040507@queue.to>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 08, 2007 at 07:33:49PM -0400, Howard Goldstein wrote:
> Kris Kennaway wrote:
> >On Tue, May 08, 2007 at 07:15:43PM -0400, Howard Goldstein wrote:
> >>
> >>Kris Kennaway wrote:
> >>>On Tue, May 08, 2007 at 06:58:47PM -0400, Howard Goldstein wrote:
> >>>>Heads up?  Hmmm.... make clean works, but not make:
> >>>>
> >>>>cally:/usr/ports/x11/xorg-libraries# make -v
> >>>>*** Error code 1
> >>>>
> >>>>Stop in /usr/ports/x11/xorg-libraries.
> >>>>cally:/usr/ports/x11/xorg-libraries#
> >>>>
> >>>>
> >>>>On a system with no /usr/X11R6 at all, something in the following bits 
> >>>>hoses the build when those vars are not defined:
> >>>>
> >>>>.if !defined(XORG_UPGRADE) && !defined(PACKAGE_BUILDING)
> >>>>pre-everything::
> >>>>       @test -d /usr/X11R6 && echo "Read ${PORTSDIR}/UPDATING for the 
> >>>>procedure to upgrade to xorg 7.2." && ${FALSE}
> >>>>.endif
> >>>Did you try reading the text you quoted?
> >>Yes.  Do you know why it's failing with that output, is it because there 
> >>is no /usr/X11R6? Keep in mind this is on a system that's been tracking 
> >>git for months.
> >
> >Yes, see ${PORTSDIR}/UPDATING.
> 
> Perhaps I'm not understanding your problem with my post.   Is the 
> argument to the echo supposed to display on this failure, or, is it 
> supposed to fail displaying "*** Error code 1" without any further 
> explanation which is what I'm seeing here?

It is supposed to break if /usr/X11R6 is not a symlink.  So I guess it
should be

@test -L /usr/X11R6 || ( echo "Read ${PORTSDIR}/UPDATING for the procedure to upgrade to xorg 7.2." && /usr/bin/false )

Kris



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