ports/153557: patch to warn birtualbox compiler to unsetenv DISPLAY

Julian H. Stacey jhs at berklix.com
Thu Dec 30 18:50:09 UTC 2010


The following reply was made to PR ports/153557; it has been noted by GNATS.

From: "Julian H. Stacey" <jhs at berklix.com>
To: Anonymous <swell.k at gmail.com>
Cc: bug-followup at FreeBSD.org, vbox at FreeBSD.org
Subject: Re: ports/153557: patch to warn birtualbox compiler to unsetenv DISPLAY 
Date: Thu, 30 Dec 2010 19:41:19 +0100

 Hi,
 Reference:
 > From:		Anonymous <swell.k at gmail.com> 
 > Date:		Thu, 30 Dec 2010 21:19:41 +0300 
 > Message-id:	<867herazsy.fsf at gmail.com> 
 
 Anonymous wrote:
 > "Julian Stacey" <jhs at berklix.com> writes:
 > 
 > > + test_display != printenv DISPLAY
 > > + .if ${test_display} != ""
 > > + BROKEN=		"unsetenv DISPLAY to avoid: Checking for Mesa / GLU: X Error of failed request:  BadRequest (invalid request code or no such operation)"
 > > + .endif
 > > + 
 > 
 > assignment is redundant here, you can use value from environment directly
 > 
 >   .if defined(DISPLAY) && ${DISPLAY} != ""
 
 Thanks, OK
 
 > I don't use the port but have you tried CONFIGURE_ARGS+=--passive-mesa ?
 
 Adding CC for maintainer of port: vbox at FreeBSD.org
 Thanks, I'll look too.
 
 Cheers,
 Julian
 -- 
 Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 	Mail plain text;  Not quoted-printable, or HTML or base 64.
 	Avoid top posting, it cripples itemised cumulative responses.



More information about the freebsd-ports-bugs mailing list