Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 19:49:58 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Craig Boston <craig@yekse.gank.org>, Kris Kennaway <kris@obsecurity.org>, ports@FreeBSD.org
Subject:   Re: HEADS UP: xorg 7.2 ready for testing
Message-ID:  <20070513234958.GA66130@xor.obsecurity.org>
In-Reply-To: <20070513233134.GA4326@nowhere>
References:  <20070510212817.GA67897@xor.obsecurity.org> <20070513233134.GA4326@nowhere>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 13, 2007 at 06:31:34PM -0500, Craig Boston wrote:
> I decided to try this, but to do things a little differently.  Before
> I get yelled at for not following instructions, please glance at what I
> did because I think it's a valid test:
> 
> 1. Extract xorg7.2 test ports tree from Kris's .tbz
> 2. pkg_delete -a
> 3. rm -rf /usr/X11R6
> 4. Clean everything out of /usr/local except for config files
> 5. ln -s local /usr/X11R6
> 6. cd /usr/ports72/x11/xorg && make install clean
> 
> My reasoning is that with everybody testing the upgrade procedure, it
> would also be useful to test a clean install to simulate what a new user
> would encounter.
> 
> In this instance I think it makes sense to _NOT_ set XORG_UPGRADE, since
> it's not an upgrade.  Unfortunately xorg-libraries seems to be broken
> when XORG_UPGRADE is not set.  The trouble is this section:
> 
> .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
> 
> If XORG_UPGRADE is not set, it is impossible for the port to build.

See other emails.

> --- Makefile.orig       Sun May 13 18:19:13 2007
> +++ Makefile    Sun May 13 18:23:53 2007
> @@ -66,7 +66,7 @@
>  
>  .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}
> +       @test -L /usr/X11R6 || test ! -d /usr/X11R6 || ( echo "Read ${PORTSDIR}/UPDATING for the procedure to upgrade to xorg 7.2." && ${FALSE} )
>  .endif

A different patch was already committed.

Kris



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