x11/xlockmore disables MESAGL on amd64
Francois Tigeot
ftigeot at wolfpond.org
Thu Mar 10 03:05:41 PST 2005
On Wed, Mar 09, 2005 at 11:04:26AM -0600, Scot Hetzel wrote:
> On Tue, 8 Mar 2005 09:52:34 +0100, Francois Tigeot <ftigeot at wolfpond.org> wrote:
> > GL modes have been disabled on amd64 more than a year ago. According to the
> > commit message, it was done to fix build problems.
> >
> > I re-enabled them locally; xlockmore built without trouble and all GL modes
> > work fine on a 5.4-PRERELEASE/amd64 host.
> >
> > Should I submit a PR or is the attached patch sufficient ?
> >
> I looked at the patch and it removes the check for amd64. The check
> should have been changed to include OSVERSION, as the GL modes are
> broken on older versions.
>
> .if ${MACHINE_ARCH} == "amd64" && ${OSVERSION} < 503105
> WITH_MESAGL= no
> .else
> WITH_MESAGL?= yes
> .endif
>
> Also, if you can test on a 5.3-RELEASE system, you could bring the
> OSVERSION down even further.
With 5.2-RELEASE, the build fails. The compiler generates an
invalid assembler sequence on this version.
The port compiles correctly on a 5.3-BETA7 system, so 5.3-RELEASE should
be fine.
The exact OSVERSION could probably be changed to 502126, when gcc was
upgraded to 3.4.x.
--
Francois Tigeot
More information about the freebsd-ports
mailing list