On Sun, Feb 14, 2010 at 01:04:31PM +0100, Paolo Bonzini wrote:
> On 02/14/2010 08:23 AM, Blue Swirl wrote:
> >On OpenBSD, pkg-config sdl --cflags forgets to add -I/usr/local/include
> >which is needed for iconv.h (included from SDL.h). This makes SDL
> >detection fail.
> >
> >Try sdl-config first, only if it fails try pkg-config.
> 
> This breaks cross-compilation.  I'm CCing the OpenBSD package
> maintainer so that he can fix it.
> 
> Upstream SDL has
> 
>     --cflags)
>       echo -...@includedir@/SDL @SDL_CFLAGS@
>       ;;
> 
> in sdl-config.in and
> 
> Cflags: -I${includedir}/SDL @SDL_CFLAGS@
> 
> in sdl.pc.in, while OpenBSD has different values, so he modified
> sdl-config apparently but not sdl.pc.in.

that was done before I became maintainer.  anyway, I'll fix it after
ports unlocks.  thanks for the notice.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org


Reply via email to