Somebody else told me solution, dunno if the reason(for not working on some systems) is symlinked bash as ksh or something else, but it works:
sed -i 's/$(PWD)/$(CURDIR)/' src/glsl/Makefile fix
I am also attaching patch.
To clarify, I am using PLD Th(2.99), where software is fresh-to-bleeding_edge, so its impossible that I needed patching because of deprecated tools, and probably this bug will appear on other distros adter updating.
Created attachment 43542 [details] [review]
simple patch insetad of sed rule
I'm not really sure what the concern is...the title and comments here only suggest fixes for some unknown problem. Presumably it's failing to build on your system.
Hopefully the following commit fixes it:
Author: Kenneth Graunke <email@example.com>
Date: Sat Feb 19 00:06:00 2011 -0800
glsl: Remove $(PWD) from Makefile in favor of .
Hopefully should fix bug #34468.
I don't think we actually need an absolute path in the first place.
Please reopen if this doesn't actually fix the problem.
Thx, simple dot fixes everything ;)
on Jan 22, 2017 at 12:16:52.
(provided by the Example extension).