mxcl/homebrew — Issue #9532: sdl installs incorrect symlink to C headers
Author: jjl
Created: 2012-01-10 23:18:09+00:00
State: open

This is the default symlink that is installed when i do a 'brew sdl':

~ jjl$ ls -la /usr/local/include/SDL
lrwxr-xr-x 1 jjl staff 32 10 Jan 22:33 /usr/local/include/SDL -> ../Cellar/sdl/1.2.14/include/SDL

Files are actually here:

~ jjl$ ls /usr/local/Cellar/sdl/1.2.14/include/SDL/
SDL.h SDL_byteorder.h SDL_cpuinfo.h SDL_events.h SDL_keyboard.h SDL_main.h SDL_name.h SDL_quit.h SDL_syswm.h SDL_types.h begin_code.h
SDL_active.h SDL_cdrom.h SDL_endian.h SDL_getenv.h SDL_keysym.h SDL_mouse.h SDL_opengl.h SDL_rwops.h SDL_thread.h SDL_version.h close_code.h
SDL_audio.h SDL_config.h SDL_error.h SDL_joystick.h SDL_loadso.h SDL_mutex.h SDL_platform.h SDL_stdinc.h SDL_timer.h SDL_video.h

Changing

Here's some diagnostic info in case there's something wrong with my setup:

~ jjl$ brew -v
0.8.1
~ jjl$ brew info sdl
sdl 1.2.14
http://www.libsdl.org/
/usr/local/Cellar/sdl/1.2.14 (222 files, 2.7M)
http://github.com/mxcl/homebrew/commits/master/Library/Formula/sdl.rb