2011/9/14 José Jorge <[email protected]>: > Le samedi 10 septembre 2011 10:44:23, Funda Wang a écrit : >> Maintainers: >> If some packages cannot be built against libpng 1.5 even with patches >> (upstream should be notified), you should adjust the BuildRequires >> into "pkgconfig(libpng12)", and only rely on pkgconfig or >> libpng12-config to find libs and includedir, >> > Anyone has an example to that? I have understood this : > > BuildRequires pkgconfig(libpng12) > > but what to change on configure time? > Thanks You should tweak configure script so that it won't detect libpng15, either via environment or some ugly patches.
But a better way is to patch it to support libpng1.5.
