x11/x11-libraries build

Kris Kennaway kris at obsecurity.org
Tue May 8 23:59:27 UTC 2007


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


More information about the freebsd-x11 mailing list