x11/xlockmore disables MESAGL on amd64

Scot Hetzel swhetzel at gmail.com
Wed Mar 9 09:04:27 PST 2005


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.

Scot


More information about the freebsd-ports mailing list