FS#28185 - [lib32-sdl] sdl-config (from 'sdl') provides bad libdir for multilib
Attached to Project:
Community Packages
Opened by Rafael Fontenelle (josephg) - Tuesday, 31 January 2012, 01:38 GMT
Last edited by Florian Pritz (bluewind) - Thursday, 01 March 2012, 15:52 GMT
Opened by Rafael Fontenelle (josephg) - Tuesday, 31 January 2012, 01:38 GMT
Last edited by Florian Pritz (bluewind) - Thursday, 01 March 2012, 15:52 GMT
|
Details
Description:
Some software have the configure script set to use 'sdl-config' to get sdl folders. Currently, only the package [extra]/sdl has 'sdl-config' script, which provides a libdir variable hardcoded with '-L/usr/lib'. So, when compiling for multilib (-m32, lib32, etc.) configure scripts will print "skip incompatible" for libs, as it have '-I/usr/lib' as sdl libs folder. Solutions that I can think of for this issue ("my 2 cents"): 1) provide a sdl-multilib in [multilib] with sdl-config patched to not provide '-L/usr/lib' (See patch attached) 2) same for above solution, but fix in the 'sdl' of [extra] Additional info: * package version(s) sdl 1.2.15 lib32-sdl 1.2.15 Steps to reproduce: 1- Compile a software that set libdir in using sdl-config (e.g. gngeo from AUR) 2- See "skipping incompatible <lib-name>" in config.log |
This task depends upon
Comment by
Florian Pritz (bluewind) - Thursday,
01 March 2012, 15:52 GMT
lib32-sdl 1.2.15-2 now provides sdl-config-32 which should return
the correct paths.
SDL-1.2.12-multilib.patch