HEADS UP: xorg 7.2 ready for testing
Kris Kennaway
kris at obsecurity.org
Sun May 13 23:50:00 UTC 2007
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
More information about the freebsd-ports
mailing list