Found a non POSIX test construction in a configure script
Where exactly is that located, and is there already a bug report upstream at https://bugs.freedesktop.org/ ?
when emerge mesa, I was said >>> Messages generated by process 14046 on 2012-09-19 19:44:56 JST for package media-libs/mesa-8.0.4-r1: ERROR: compile Found a non POSIX test construction in a configure script The configure checks of this package may not function properly Please report this on Gentoo Bugzilla in Gentoo/Alt product for component FreeBSD. http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt&component=FreeBSD&op_sys=FreeBSD LOG: postinst USE="bindist" was not set. Potentially patent encumbered code was enabled. Please see patents.txt for an explanation.
BSD team: I hope you can handle this bug, because there's no useful information in it for the X11 team.
Created attachment 325628 [details, diff] simpe patch to fix non POSIX test construction # ebuild /usr/portage/media-libs/mesa/mesa-8.0.4-r1.ebuild unpack # cd /dev/shm/portage/media-libs/mesa-8.0.4-r1/work/Mesa-8.0.4 # grep "\\<test .*==" . -r --include configure ./configure: if test "x$HAVE_XF86VIDMODE" == xyes; then # grep HAVE_XF86VIDMODE configure.ac PKG_CHECK_MODULES([XF86VIDMODE], [xxf86vm], HAVE_XF86VIDMODE=yes, HAVE_XF86VIDMODE=no) if test "$HAVE_XF86VIDMODE" = yes ; then if test "x$HAVE_XF86VIDMODE" == xyes; then AC_SUBST([HAVE_XF86VIDMODE]) The patch is attached.
Ah, I see. Thank you. This was fixed (not purposefully) by http://cgit.freedesktop.org/mesa/mesa/commit/?id=e273ed37eaf9de57883631f223afbe50f1c78291 in August and so this isn't applicable to the 9.0 or master branch. If it's important for BSD, feel free to add that patch to the 8.0 and older releases.
(In reply to comment #5) > If it's important for BSD, feel free to add that patch to the 8.0 and older > releases. I've added my patch to the tree. Thanks!