You may find these line in xorg-server-1.6.1.901/configure.ac > AM_CONDITIONAL(DRI2, test "x$DRI2" == xyes) > AM_CONDITIONAL(DRI2_AIGLX, test "x$DRI2_AIGLX" == xyes) These test won't work well on FreeBSD's /bin/sh (and clearly this doesn't follow POSIX manner) This cause dri2 always disabled, and cause some packages (e.g. xf86-video-intel) to build failure. Reproducible: Always Steps to Reproduce: 1. USE='-minimal' emerge =x11-base/xorg-server-1.6.1.901-r5 Actual Results: You may find dri2 files (e.g. /usr/include/xorg/dri2.h) not installed. Expected Results: Must install dri2 files.
Created attachment 196332 [details, diff] patch for ebuild to fix the problem I could get dri2 files installed with the attached patch.
Such a change is probably worth having globally and submitted upstream; replacing test == constructions by test =
Reassigning to x11 so I don't lose track of it, I'll try to commit something upstream. Thanks
Fixed in 1.6.2. Beware though, I screwed up a bit so if 1.6.2 doesn't work on the first build, wait a bit, sync again and it should work. Thanks
It seems it fixes only "configure.ac" and "configure" still have the problem. Maybe we need a line "SNAPSHOT=yes" to regenerage "configure" or another patch for "configure".
The ebuild now calls eautoreconf after patching. Fixed without a revbump in 1.6.2-r1. Thanks