Please, take a look at my previous post about creating a new thread ... All this is not ManiaDrive related at all
I've read quickly the patch, and I still see strange things. For instance :
Code:
- if [ ! -f "raydium/ode.tar.gz" ]; then
+ if [ ! -f "raydium/ode-0.9.zip" ]; then
Sure, It will break things for Linux, since we use "ode.tar.gz" filename !
You should try to make this patch as small as possible, to ease the maintaining work. In this example, why not downloading the tar.gz version of ODE on sourceforge, for instance ? You may then use the same local filename (ode.tar.gz) with wget.
In other words, there's still too much FreeSB specific conditions in this patch for me to valid it. We should make our best to make this new port as simple as possible. Another good example: we can't have huge bunch of things like:
Code:
+if [ "`uname`" != "FreeBSD" ]; then
+ gcc -g $1 -Wall -o test -static-libgcc \
+ -Wl,-dynamic-linker=/libexec/ld-elf.so.1 -Wl,-Bstatic -L/usr/X11R6/lib/ \
+ -lm -lXi -ljpeg \
+ -Iraydium/ode/include/ raydium/ode/ode/src/libode.a \
+ -lGLEW -lXmu -lXinerama -lopenal -lalut -lvorbisfile -lvorbis -logg \
+ -Iraydium/php/ -Iraydium/php/main/ -Iraydium/php/Zend -Iraydium/php/TSRM raydium/php/libs/libphp5.a \
+ -lcrypt -lssl -lcrypto -lidn -lresolv -lz -lcurl -lxml2 -lssl -lcrypto -lidn -lstdc++ -lm -lX11 -lXext \
+ -Wl,-Bdynamic -lGL -lGLU -lasound -lpthread
+else
+ gcc -g $1 -Wall -o test -static-libgcc \
+ -Wl,-dynamic-linker=/libexec/ld-elf.so.1 -Wl,-Bstatic -L/usr/X11R6/lib/ -L/usr/local/lib/ -I/usr/local/include/ \
+ -lm -lXi -ljpeg \
+ -Iraydium/ode/include/ raydium/ode/ode/src/libode.a \
+ -lGLEW -lXmu -lXinerama -lopenal -lalut -lvorbisfile -lvorbis -logg \
+ -Iraydium/php/ -Iraydium/php/main/ -Iraydium/php/Zend -Iraydium/php/TSRM raydium/php/libs/libphp5.a \
+ -lcrypt -lssl -lcrypto -lidn -lz -lcurl -lxml2 -lssl -lcrypto -lidn -lstdc++ -lm -lX11 -lXext -lintl -liconv \
+ -Wl,-Bdynamic -lGL -lGLU -lopenal -lpthread
+fi
... it will be a complete nightmare to update
(just because iconv is missing ...)