| 1 | | [[TOC]] |
| 2 | | |
| 3 | | = PortLog: [wiki:media-libs]/sdl-net = |
| 4 | | |
| 5 | | http://www.libsdl.org/projects/SDL_net/ |
| 6 | | |
| 7 | | == version 1.2.7 == |
| 8 | | |
| 9 | | ||R5||untested|| |
| 10 | | ||BONE||untested|| |
| 11 | | ||Haiku||stable|| |
| 12 | | |
| 13 | | Dependencies: [wiki:media-libs/guilib guilib] |
| 14 | | |
| 15 | | ~~ |
| 16 | | With GUIlib in place, ./configure --prefix=/boot/common works, |
| 17 | | but then make errors out not being able to find <GUI/GUI.h> and <GUI_widgets.h> in chat.cpp |
| 18 | | Editing chat.cpp to use hardcoded includes </boot/home/config/include/GUI/GUI.h> and same for widgets |
| 19 | | then allows make to finish and make install then works. Need to investigate why the includes didn't |
| 20 | | "just" work. |
| 21 | | Use ./configure --prefix=/boot/common CPPFLAGS=-I/boot/common/include LDFLAGS=-L/boot/common/lib |
| 22 | | Then make, make install work fine. Successful ~~ |
| 23 | | |
| 24 | | Install GUIlib first, copy in haiku config.guess/.sub, |
| 25 | | [http://tools.assembla.com/BePorts/browser/BePorts/trunk/media-libs/sdl-net/SDL_net-1.2.7-haiku.diff patch] then[[BR]] |
| 26 | | * libtoolize --force --copy |
| 27 | | * aclocal |
| 28 | | * ./autogen.sh |
| 29 | | * ./configure --prefix=/boot/common LDFLAGS=-L/boot/common/lib CPPFLAGS=-I/boot/common/include |
| 30 | | * make |
| 31 | | * make install |
| 32 | | |
| 33 | | Ran chat program, but didn't know what to do to check this one over. So don't know for sure if it's working correctly or not yet. |