summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/crystalspace')
-rw-r--r--dev-games/crystalspace/Manifest7
-rw-r--r--dev-games/crystalspace/config.log1272
-rw-r--r--dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild135
-rw-r--r--dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild178
-rw-r--r--dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch12
5 files changed, 1604 insertions, 0 deletions
diff --git a/dev-games/crystalspace/Manifest b/dev-games/crystalspace/Manifest
new file mode 100644
index 0000000..7c7a24e
--- /dev/null
+++ b/dev-games/crystalspace/Manifest
@@ -0,0 +1,7 @@
+AUX crystalspace-1.4.0-bullet.patch 501 RMD160 8a5c37029c5c1470d1c73b5e0b38df0936e2a85a SHA1 d65deefa25dc49a6e4b7f3d641b9f8ab36565368 SHA256 0dc5ecb64d9a9a07a3da9e89c51080952beb1a4daed40e6b3eccc64ab9e4677f
+DIST crystalspace-src-1.4.0.tar.bz2 45670477 RMD160 af89e74a96bac7f55079a6cdad7fd938a38af602 SHA1 10f4dd50c654ad9292602a91189a0ee78a8fe353 SHA256 a8e1bfc9328470121bfbc6cf98f2c310a34f6998978065aa2f6df7e02a0101ba
+EBUILD crystalspace-1.4.0-r2.ebuild 3499 RMD160 aa8e97669720b3b3fe53672d46ff2352116a402b SHA1 3666a937bcf83e8d3cba582f9a661b691f18a6f8 SHA256 4fb1ca5b6921bbf182adfb80336c21e4f83fdd6b7f16dd35f17c9effc856cbbc
+EBUILD crystalspace-1.9_pre9999-r5.ebuild 4796 RMD160 c9f6316314984ba2423ec969854c52dcd6de8ea7 SHA1 6865c6dc97296bca5e4df77964ed3a157692175b SHA256 2a2eaf1e0aaaba22a988167899ae48c3c2af2f10e66e47a852082c97d2ddb327
+MISC config.log 44199 RMD160 a66b802ebc68d69c0d5083b69dc8f6daaf97d9c5 SHA1 15d68c4344b765b8164453e88789aa4aecb7d8a6 SHA256 fe079661825d0742a1881a1e5fe5ee12d2ce2a4c933e1ecb619f40731bcc877c
+MISC crystalspace-1.4.0-r2.ebuild~ 3611 RMD160 a9b0784f6dff024ed8b9b50ef045b9397eabcf66 SHA1 49049f294d56b2af329794b5e8e29e8f0ef48697 SHA256 cf49332a3bc1ccebc4862a7f363df86ed42f0457a00325a0a94a15c41b4e330a
+MISC crystalspace-1.9_pre9999-r5.ebuild~ 5197 RMD160 98c760ea6535018ab5a6c12d3fc767307e5278bf SHA1 f8d82c8da298665cb14485bcb927098702173170 SHA256 6ea8fb9fd9c238ad26a16b71d749d54a4418fbdae138506e00d6717e5dfb4c0a
diff --git a/dev-games/crystalspace/config.log b/dev-games/crystalspace/config.log
new file mode 100644
index 0000000..97577d2
--- /dev/null
+++ b/dev-games/crystalspace/config.log
@@ -0,0 +1,1272 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by crystalspace configure 1.9, which was
+generated by GNU Autoconf 2.65. Invocation command line was
+
+ $ /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/configure
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = sed-notebook
+uname -m = x86_64
+uname -r = 2.6.37-gentoo
+uname -s = Linux
+uname -v = #1 SMP Thu Jan 20 21:41:50 CET 2011
+
+/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz
+/bin/uname -X = unknown
+
+/bin/arch = unknown
+/usr/bin/arch -k = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo = unknown
+/bin/machine = unknown
+/usr/bin/oslevel = unknown
+/bin/universe = unknown
+
+PATH: /sbin
+PATH: /bin
+PATH: /usr/sbin
+PATH: /usr/bin
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:3315: checking build system type
+configure:3329: result: x86_64-unknown-linux-gnu
+configure:3349: checking host system type
+configure:3362: result: x86_64-unknown-linux-gnu
+configure:3428: checking whether to enable -mno-cygwin
+configure:3462: result: no
+configure:3518: checking for gcc
+configure:3534: found /usr/bin/gcc
+configure:3545: result: gcc
+configure:3774: checking for C compiler version
+configure:3783: gcc --version >&5
+gcc (Gentoo 4.5.1-r1 p1.4, pie-0.4.5) 4.5.1
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:3794: $? = 0
+configure:3783: gcc -v >&5
+Using built-in specs.
+COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/gcc
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper
+Target: x86_64-pc-linux-gnu
+Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1-r1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1-r1 p1.4, pie-0.4.5'
+Thread model: posix
+gcc version 4.5.1 (Gentoo 4.5.1-r1 p1.4, pie-0.4.5)
+configure:3794: $? = 0
+configure:3783: gcc -V >&5
+gcc: '-V' option must have argument
+configure:3794: $? = 1
+configure:3783: gcc -qversion >&5
+gcc: unrecognized option '-qversion'
+gcc: no input files
+configure:3794: $? = 1
+configure:3814: checking whether the C compiler works
+configure:3836: gcc conftest.c >&5
+configure:3840: $? = 0
+configure:3889: result: yes
+configure:3892: checking for C compiler default output file name
+configure:3894: result: a.out
+configure:3900: checking for suffix of executables
+configure:3907: gcc -o conftest conftest.c >&5
+configure:3911: $? = 0
+configure:3933: result:
+configure:3955: checking whether we are cross compiling
+configure:3963: gcc -o conftest conftest.c >&5
+configure:3967: $? = 0
+configure:3974: ./conftest
+configure:3978: $? = 0
+configure:3993: result: no
+configure:3998: checking for suffix of object files
+configure:4020: gcc -c conftest.c >&5
+configure:4024: $? = 0
+configure:4045: result: o
+configure:4049: checking whether we are using the GNU C compiler
+configure:4068: gcc -c conftest.c >&5
+configure:4068: $? = 0
+configure:4077: result: yes
+configure:4086: checking whether gcc accepts -g
+configure:4106: gcc -c -g conftest.c >&5
+configure:4106: $? = 0
+configure:4147: result: yes
+configure:4164: checking for gcc option to accept ISO C89
+configure:4228: gcc -c conftest.c >&5
+configure:4228: $? = 0
+configure:4241: result: none needed
+configure:4297: checking for C compiler version
+configure:4333: result: 4.5.1
+configure:4338: checking if gcc accepts -pipe
+configure:4422: gcc -o conftest -pipe conftest.c >&5
+configure:4422: $? = 0
+configure:4458: result: -pipe
+configure:4613: checking if gcc accepts -ffunction-sections -fdata-sections
+configure:4697: gcc -o conftest -ffunction-sections -fdata-sections conftest.c >&5
+configure:4697: $? = 0
+configure:4733: result: -ffunction-sections -fdata-sections
+configure:4809: checking for g++
+configure:4825: found /usr/bin/g++
+configure:4836: result: g++
+configure:4863: checking for C++ compiler version
+configure:4872: g++ --version >&5
+g++ (Gentoo 4.5.1-r1 p1.4, pie-0.4.5) 4.5.1
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:4883: $? = 0
+configure:4872: g++ -v >&5
+Using built-in specs.
+COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1/g++
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.1/lto-wrapper
+Target: x86_64-pc-linux-gnu
+Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1-r1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1-r1 p1.4, pie-0.4.5'
+Thread model: posix
+gcc version 4.5.1 (Gentoo 4.5.1-r1 p1.4, pie-0.4.5)
+configure:4883: $? = 0
+configure:4872: g++ -V >&5
+g++: '-V' option must have argument
+configure:4883: $? = 1
+configure:4872: g++ -qversion >&5
+g++: unrecognized option '-qversion'
+g++: no input files
+configure:4883: $? = 1
+configure:4887: checking whether we are using the GNU C++ compiler
+configure:4906: g++ -c conftest.cpp >&5
+configure:4906: $? = 0
+configure:4915: result: yes
+configure:4924: checking whether g++ accepts -g
+configure:4944: g++ -c -g conftest.cpp >&5
+configure:4944: $? = 0
+configure:4985: result: yes
+configure:5043: checking for C++ compiler version
+configure:5079: result: 4.5.1
+configure:5086: checking how to treat C++ warnings as errors
+configure:5170: g++ -o conftest -Werror conftest.cpp >&5
+configure:5170: $? = 0
+configure:5206: result: -Werror
+configure:5211: checking how to enable C++ PIC generation
+configure:5295: g++ -o conftest -fPIC -Werror conftest.cpp >&5
+configure:5295: $? = 0
+configure:5297: grep fPIC conftest.err >/dev/null 2>&1
+configure:5300: $? = 1
+configure:5340: result: -fPIC
+configure:5408: checking for ld
+configure:5424: found /usr/bin/ld
+configure:5435: result: ld
+configure:5464: checking if binutils version >= 2.17
+configure:5582: result: yes (version 2.20.1.20100303)
+configure:5869: checking if -shared is accepted
+configure:5953: g++ -o conftest -shared -fPIC conftest.cpp >&5
+configure:5953: $? = 0
+configure:5955: grep shared conftest.err >/dev/null 2>&1
+configure:5958: $? = 1
+configure:5998: result: -shared -fPIC
+configure:6012: checking if -soname is accepted
+configure:6095: g++ -o conftest -Wl,-soname,foobar conftest.cpp >&5
+configure:6095: $? = 0
+configure:6128: result: yes
+configure:6263: checking if response files are accepted
+configure:6287: g++ -o conftest -Wl,@conf2129.resp conftest.cpp >&5
+configure:6287: $? = 0
+configure:6302: result: yes
+configure:6326: checking if --as-needed is supported
+configure:6410: g++ -o conftest -Wl,--as-needed conftest.cpp >&5
+configure:6410: $? = 0
+configure:6446: result: -Wl,--as-needed
+configure:6457: checking if --no-as-needed is supported
+configure:6541: g++ -o conftest -Wl,--no-as-needed conftest.cpp >&5
+configure:6541: $? = 0
+configure:6577: result: -Wl,--no-as-needed
+configure:6595: checking if --gc-sections is supported
+configure:6679: g++ -o conftest -Wl,--gc-sections conftest.cpp >&5
+configure:6679: $? = 0
+configure:6715: result: -Wl,--gc-sections
+configure:6737: checking if --large-address-aware is supported
+configure:6821: g++ -o conftest -Wl,--large-address-aware conftest.cpp >&5
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '--large-address-aware'
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
+collect2: ld returned 1 exit status
+configure:6821: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+|
+| int
+| main ()
+| {
+|
+| ;
+| return 0;
+| }
+configure:6857: result: no
+configure:6876: checking how to run the C preprocessor
+configure:6907: gcc -E conftest.c
+configure:6907: $? = 0
+configure:6921: gcc -E conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:6921: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:6946: result: gcc -E
+configure:6966: gcc -E conftest.c
+configure:6966: $? = 0
+configure:6980: gcc -E conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:6980: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7013: checking how to run the C++ preprocessor
+configure:7040: g++ -E conftest.cpp
+configure:7040: $? = 0
+configure:7054: g++ -E conftest.cpp
+conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:7054: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7079: result: g++ -E
+configure:7099: g++ -E conftest.cpp
+configure:7099: $? = 0
+configure:7113: g++ -E conftest.cpp
+conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
+compilation terminated.
+configure:7113: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:7205: checking for ranlib
+configure:7221: found /usr/bin/ranlib
+configure:7232: result: ranlib
+configure:7316: checking for dlltool
+configure:7346: result: no
+configure:7429: checking for dllwrap
+configure:7459: result: no
+configure:7545: checking for windres
+configure:7575: result: no
+configure:7658: checking for strings
+configure:7674: found /usr/bin/strings
+configure:7685: result: strings
+configure:7771: checking for objcopy
+configure:7787: found /usr/bin/objcopy
+configure:7798: result: objcopy
+configure:7829: checking whether objcopy supports --long-section-names
+configure:7836: objcopy --help 2>/dev/null | grep -e --long-section-names >/dev/null 2>&1
+configure:7839: $? = 0
+configure:7845: result: yes
+configure:7916: checking for libtool
+configure:7932: found /usr/bin/libtool
+configure:7943: result: libtool
+configure:7976: checking for libtool
+configure:7994: found /usr/bin/libtool
+configure:8006: result: /usr/bin/libtool
+configure:8015: checking classification of /usr/bin/libtool
+configure:8017: $LIBTOOL_PATH --version 1>&2
+libtool (GNU libtool) 2.4
+Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+configure:8020: $? = 0
+configure:8022: result: gnu
+configure:8154: checking for libtool
+configure:8172: found /usr/bin/libtool
+configure:8184: result: /usr/bin/libtool
+configure:8193: checking classification of /usr/bin/libtool
+configure:8195: $CS_LT_APPLE --version 1>&2
+libtool (GNU libtool) 2.4
+Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+configure:8198: $? = 0
+configure:8200: result: gnu
+configure:8223: checking how to create a directory
+configure:8230: result: mkdir
+configure:8235: checking how to create a directory tree
+configure:8247: result: mkdir -p
+configure:8352: checking for install
+configure:8368: found /usr/bin/install
+configure:8379: result: install
+configure:8396: checking whether ln -s works
+configure:8400: result: yes
+configure:8423: checking for texi2dvi
+configure:8439: found /usr/bin/texi2dvi
+configure:8450: result: texi2dvi
+configure:8478: checking for texi2pdf
+configure:8494: found /usr/bin/texi2pdf
+configure:8505: result: texi2pdf
+configure:8533: checking for dvips
+configure:8549: found /usr/bin/dvips
+configure:8560: result: dvips
+configure:8588: checking for dvipdf
+configure:8604: found /usr/bin/dvipdf
+configure:8615: result: dvipdf
+configure:8643: checking for makeinfo
+configure:8659: found /usr/bin/makeinfo
+configure:8670: result: makeinfo
+configure:8697: checking for doxygen
+configure:8713: found /usr/bin/doxygen
+configure:8724: result: doxygen
+configure:8797: checking for dot
+configure:8813: found /usr/bin/dot
+configure:8824: result: dot
+configure:8865: checking for flex
+configure:8881: found /usr/bin/flex
+configure:8892: result: flex
+configure:8920: checking for bison
+configure:8936: found /usr/bin/bison
+configure:8947: result: bison
+configure:8959: checking if bison version >= 1.35
+configure:9013: result: yes (version 4.2)
+configure:9086: checking for hhc
+configure:9116: result: no
+configure:9154: checking for swig
+configure:9170: found /usr/bin/swig
+configure:9181: result: swig
+configure:9193: checking if swig version >= 1.3.22
+configure:9263: result: yes (version 1.3.40)
+configure:9298: checking for rsvg
+configure:9314: found /usr/bin/rsvg
+configure:9325: result: rsvg
+configure:9354: checking for icotool
+configure:9384: result: no
+configure:9438: checking for convert
+configure:9454: found /usr/bin/convert
+configure:9465: result: convert
+configure:9496: checking for pngcrush
+configure:9526: result: no
+configure:9552: checking for makeicns
+configure:9582: result: no
+configure:9607: checking for png2icns
+configure:9637: result: no
+configure:9718: checking for relaytool
+configure:9736: found /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+configure:9748: result: /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+configure:9780: checking for bash
+configure:9807: result: /bin/sh
+configure:9887: checking for svn
+configure:9903: found /usr/bin/svn
+configure:9914: result: svn
+configure:9939: checking whether /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9 is an SVN checkout
+configure:9945: svn info /var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9 > /dev/null
+svn: '/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9' is not a working copy
+configure:9948: $? = 1
+configure:9955: result: no
+configure:9998: checking for jam
+configure:10016: found /usr/bin/jam
+configure:10028: result: /usr/bin/jam
+configure:10040: checking if jam version >= 2.4
+configure:10110: result: yes (version 2.5.3)
+configure:10145: checking for gnumake
+configure:10175: result: no
+configure:10145: checking for gmake
+configure:10161: found /usr/bin/gmake
+configure:10172: result: gmake
+configure:10526: checking for grep that handles long lines and -e
+configure:10584: result: /bin/grep
+configure:10589: checking for egrep
+configure:10651: result: /bin/grep -E
+configure:10656: checking for ANSI C header files
+configure:10676: g++ -c conftest.cpp >&5
+configure:10676: $? = 0
+configure:10749: g++ -o conftest conftest.cpp >&5
+configure:10749: $? = 0
+configure:10749: ./conftest
+configure:10749: $? = 0
+configure:10760: result: yes
+configure:10773: checking for sys/types.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for sys/stat.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for stdlib.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for string.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for memory.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for strings.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for inttypes.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for stdint.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10773: checking for unistd.h
+configure:10773: g++ -c conftest.cpp >&5
+configure:10773: $? = 0
+configure:10773: result: yes
+configure:10788: checking cmath usability
+configure:10788: g++ -c conftest.cpp >&5
+configure:10788: $? = 0
+configure:10788: result: yes
+configure:10788: checking cmath presence
+configure:10788: g++ -E conftest.cpp
+configure:10788: $? = 0
+configure:10788: result: yes
+configure:10788: checking for cmath
+configure:10788: result: yes
+configure:10801: checking math.h usability
+configure:10801: g++ -c conftest.cpp >&5
+configure:10801: $? = 0
+configure:10801: result: yes
+configure:10801: checking math.h presence
+configure:10801: g++ -E conftest.cpp
+configure:10801: $? = 0
+configure:10801: result: yes
+configure:10801: checking for math.h
+configure:10801: result: yes
+configure:10814: checking ieeefp.h usability
+configure:10814: g++ -c conftest.cpp >&5
+conftest.cpp:54:20: fatal error: ieeefp.h: No such file or directory
+compilation terminated.
+configure:10814: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| /* end confdefs.h. */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| # include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| # include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| #include <ieeefp.h>
+configure:10814: result: no
+configure:10814: checking ieeefp.h presence
+configure:10814: g++ -E conftest.cpp
+conftest.cpp:21:20: fatal error: ieeefp.h: No such file or directory
+compilation terminated.
+configure:10814: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| /* end confdefs.h. */
+| #include <ieeefp.h>
+configure:10814: result: no
+configure:10814: checking for ieeefp.h
+configure:10814: result: no
+configure:10839: checking for fopen in -lc
+configure:10864: gcc -o conftest conftest.c -lc >&5
+configure:10864: $? = 0
+configure:10873: result: yes
+configure:10893: checking for pow in -lm
+configure:10918: gcc -o conftest conftest.c -lm -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'pow'
+configure:10918: $? = 0
+configure:10927: result: yes
+configure:10935: checking for cosf in -lm
+configure:10960: gcc -o conftest conftest.c -lm -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'cosf'
+configure:10960: $? = 0
+configure:10969: result: yes
+configure:10984: checking for cosf in -lmx
+configure:11009: gcc -o conftest conftest.c -lmx -lc >&5
+conftest.c:29:6: warning: conflicting types for built-in function 'cosf'
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmx
+collect2: ld returned 1 exit status
+configure:11009: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| /* end confdefs.h. */
+|
+| /* Override any GCC internal prototype to avoid an error.
+| Use char because int might match the return type of a GCC
+| builtin and then its argument prototype would still apply. */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char cosf ();
+| int
+| main ()
+| {
+| return cosf ();
+| ;
+| return 0;
+| }
+configure:11018: result: no
+configure:11038: checking for dlopen in -ldl
+configure:11063: gcc -o conftest conftest.c -ldl -lc >&5
+configure:11063: $? = 0
+configure:11072: result: yes
+configure:11089: checking for gethostbyname in -lnsl
+configure:11114: gcc -o conftest conftest.c -lnsl -lc >&5
+configure:11114: $? = 0
+configure:11123: result: yes
+configure:11152: checking for dladdr in -ldl
+configure:11177: gcc -o conftest conftest.c -ldl -lnsl -lc >&5
+configure:11177: $? = 0
+configure:11186: result: yes
+configure:11214: checking for pthread
+configure:11308: gcc -o conftest conftest.c -lnsl -lc >&5
+/tmp/ccvG70Qv.o: In function `main':
+conftest.c:(.text+0x2d): undefined reference to `pthread_create'
+conftest.c:(.text+0x43): undefined reference to `sem_init'
+conftest.c:(.text+0x4f): undefined reference to `sem_destroy'
+collect2: ld returned 1 exit status
+configure:11308: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| /* end confdefs.h. */
+| #include <pthread.h>
+| #include <semaphore.h>
+| void* worker(void* p) { (void)p; return p; }
+| int
+| main ()
+| {
+| pthread_t tid;
+| sem_t sem;
+| pthread_create(&tid, 0, worker, 0);
+| sem_init(&sem, 0, 0);
+| sem_destroy(&sem);
+| ;
+| return 0;
+| }
+configure:11308: gcc -o conftest conftest.c -lpthread -lnsl -lc >&5
+configure:11308: $? = 0
+configure:11341: result: yes
+configure:11481: checking for pthread recursive mutexes
+configure:11566: gcc -o conftest -DCS_MUTEX_FEATURE=PTHREAD_MUTEX_RECURSIVE -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+configure:11566: $? = 0
+configure:11596: result: PTHREAD_MUTEX_RECURSIVE
+configure:11626: checking for pthread_atfork support
+configure:11709: gcc -o conftest -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+configure:11709: $? = 0
+configure:11739: result: yes
+configure:11751: checking for pthread_setname_np support
+configure:11834: gcc -o conftest -D_GNU_SOURCE conftest.c -lpthread -lnsl -lc >&5
+/tmp/ccCjNFg3.o: In function `main':
+conftest.c:(.text+0x14): undefined reference to `pthread_setname_np'
+collect2: ld returned 1 exit status
+configure:11834: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| /* end confdefs.h. */
+| #include <pthread.h>
+| int
+| main ()
+| {
+| pthread_setname_np (0, "hello");
+| ;
+| return 0;
+| }
+configure:11864: result: no
+configure:11879: checking whether to link base g++ libraries statically
+configure:11888: result: no
+configure:12166: checking for RTLD_NOW
+configure:12249: gcc -o conftest conftest.c -ldl -lnsl -lc >&5
+configure:12249: $? = 0
+configure:12282: result: yes
+configure:12650: checking for perl5
+configure:12680: result: no
+configure:12650: checking for perl
+configure:12666: found /usr/bin/perl
+configure:12677: result: perl
+configure:13180: checking how to suppress C++ `long double' warnings
+configure:13300: result: no
+configure:13371: checking for python
+configure:13387: found /usr/bin/python
+configure:13398: result: python
+configure:13431: checking Python version
+configure:13443: python -c 'import sys, string; print string.join(map(str,sys.version_info[:2]),".")'
+configure:13446: 0 = 0
+configure:13444: result: 2.6
+configure:13453: checking for python SDK
+configure:13469: python -c 'import distutils.sysconfig; print "-I" + distutils.sysconfig.get_python_inc()'
+configure:13472: 0 = 0
+configure:13484: python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0,1)'
+configure:13487: 0 = 0
+configure:13490: python -c 'import sys; print sys.prefix'
+configure:13493: 0 = 0
+configure:13518: python -c 'import distutils.sysconfig; print (distutils.sysconfig.get_config_var("LIBS") or "")+" "+ (distutils.sysconfig.get_config_var("SYSLIBS") or "")'
+configure:13521: 0 = 0
+configure:13527: python -c 'import distutils.sysconfig; print (distutils.sysconfig.get_config_var("SO") or "")'
+configure:13530: 0 = 0
+configure:13535: result: yes
+configure:13576: checking if python SDK is usable
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -L/usr/lib64/python2.6/config -framework Python -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+gcc: Python: No such file or directory
+cc1: error: unrecognized command line option "-framework"
+configure:13659: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "crystalspace"
+| #define PACKAGE_TARNAME "crystalspace"
+| #define PACKAGE_VERSION "1.9"
+| #define PACKAGE_STRING "crystalspace 1.9"
+| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_CMATH 1
+| #define HAVE_MATH_H 1
+| #define HAVE_LIBC 1
+| #define HAVE_LIBNSL 1
+| #define CS_PLATFORM_UNIX /**/
+| /* end confdefs.h. */
+| #include <Python.h>
+| int
+| main ()
+| {
+| Py_Initialize(); Py_Finalize();
+| ;
+| return 0;
+| }
+configure:13659: gcc -o conftest -I/usr/include/python2.6 conftest.c -L/usr/lib64/python2.6 -lpython2.6 -lpthread -ldl -lutil -lm -lpthread -lnsl -lc >&5
+configure:13659: $? = 0
+configure:13692: result: yes
+configure:13873: checking for java
+configure:13891: found /home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+configure:13903: result: /home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+configure:13932: checking for javac
+configure:13962: result: /home/sed/.gentoo/java-config-2/current-user-vm/bin/javac
+configure:13992: checking for Java SDK
+configure:14005: $JAVAC conftest.java
+configure:14008: $? = 0
+configure:14038: CLASSPATH=. /home/sed/.gentoo/java-config-2/current-user-vm/bin/java conftest java.home
+configure:14041: 0 = 0
+configure:14064: CLASSPATH=. /home/sed/.gentoo/java-config-2/current-user-vm/bin/java conftest java.library.path
+configure:14067: 0 = 0
+configure:14090: result: yes
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_build=x86_64-unknown-linux-gnu
+ac_cv_c_compiler_gnu=yes
+ac_cv_cxx_compiler_gnu=yes
+ac_cv_env_CCC_set=
+ac_cv_env_CCC_value=
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=
+ac_cv_env_CFLAGS_value=
+ac_cv_env_CPPFLAGS_set=
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_CXXCPP_set=
+ac_cv_env_CXXCPP_value=
+ac_cv_env_CXXFLAGS_set=
+ac_cv_env_CXXFLAGS_value=
+ac_cv_env_CXX_set=
+ac_cv_env_CXX_value=
+ac_cv_env_LDFLAGS_set=
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBS_set=
+ac_cv_env_LIBS_value=
+ac_cv_env_XMKMF_set=
+ac_cv_env_XMKMF_value=
+ac_cv_env_build_alias_set=
+ac_cv_env_build_alias_value=
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_header_cmath=yes
+ac_cv_header_ieeefp_h=no
+ac_cv_header_inttypes_h=yes
+ac_cv_header_math_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_host=x86_64-unknown-linux-gnu
+ac_cv_lib_c_fopen=yes
+ac_cv_lib_dl_dladdr=yes
+ac_cv_lib_dl_dlopen=yes
+ac_cv_lib_m_cosf=yes
+ac_cv_lib_m_pow=yes
+ac_cv_lib_mx_cosf=no
+ac_cv_lib_nsl_gethostbyname=yes
+ac_cv_objext=o
+ac_cv_path_CS_LT_APPLE=/usr/bin/libtool
+ac_cv_path_EGREP='/bin/grep -E'
+ac_cv_path_GREP=/bin/grep
+ac_cv_path_JAM=/usr/bin/jam
+ac_cv_path_JAVA=/home/sed/.gentoo/java-config-2/current-user-vm/bin/java
+ac_cv_path_JAVAC=/home/sed/.gentoo/java-config-2/current-user-vm/bin/javac
+ac_cv_path_LIBTOOL_PATH=/usr/bin/libtool
+ac_cv_path_ac_pt_RELAYTOOL=/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool
+ac_cv_prog_BASH=/bin/sh
+ac_cv_prog_BISON=bison
+ac_cv_prog_CONVERT=convert
+ac_cv_prog_CPP='gcc -E'
+ac_cv_prog_CXXCPP='g++ -E'
+ac_cv_prog_DOXYGEN=doxygen
+ac_cv_prog_DVIPDF=dvipdf
+ac_cv_prog_DVIPS=dvips
+ac_cv_prog_FLEX=flex
+ac_cv_prog_INSTALL=install
+ac_cv_prog_MAKE=gmake
+ac_cv_prog_MAKEINFO=makeinfo
+ac_cv_prog_PERL=perl
+ac_cv_prog_RSVG=rsvg
+ac_cv_prog_SWIG=swig
+ac_cv_prog_TEXI2DVI=texi2dvi
+ac_cv_prog_TEXI2PDF=texi2pdf
+ac_cv_prog_ac_ct_CC=gcc
+ac_cv_prog_ac_ct_CXX=g++
+ac_cv_prog_ac_ct_DOT=dot
+ac_cv_prog_ac_ct_LD=ld
+ac_cv_prog_ac_ct_LIBTOOL_TEST=libtool
+ac_cv_prog_ac_ct_OBJCOPY=objcopy
+ac_cv_prog_ac_ct_PYTHON=python
+ac_cv_prog_ac_ct_RANLIB=ranlib
+ac_cv_prog_ac_ct_STRINGS=strings
+ac_cv_prog_ac_ct_SUBVERSION=svn
+ac_cv_prog_cc_c89=
+ac_cv_prog_cc_g=yes
+ac_cv_prog_cxx_g=yes
+cs_cv_binutils_2_17=yes
+cs_cv_binutils_true_2_17=yes
+cs_cv_java_sdk=yes
+cs_cv_java_sdk_cflags='-I/home/sed/.gentoo/java-config-2/current-user-vm/include -I/home/sed/.gentoo/java-config-2/current-user-vm/include/linux -I/opt/sun-jdk-1.6.0.22/jre/include -I/opt/sun-jdk-1.6.0.22/jre/include/linux -I/opt/sun-jdk-1.6.0.22/jre/../include -I/opt/sun-jdk-1.6.0.22/jre/../include/linux'
+cs_cv_java_sdk_lflags='-L/home/sed/.gentoo/java-config-2/current-user-vm -L/opt/sun-jdk-1.6.0.22/jre -L/opt/sun-jdk-1.6.0.22/jre/.. -L/opt/sun-jdk-1.6.0.22/jre/lib/amd64/server -L/opt/sun-jdk-1.6.0.22/jre/lib/amd64 -L/opt/sun-jdk-1.6.0.22/jre/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib64 -L/lib64 -L/lib -L/usr/lib'
+cs_cv_java_sdk_libs=-ljvm
+cs_cv_libdl_libs=-ldl
+cs_cv_libm_libs=-lm
+cs_cv_objcopy_supports_long_section_names=yes
+cs_cv_prog_binutils_is_version=2.20.1.20100303
+cs_cv_prog_binutils_version_2_17_ok=yes
+cs_cv_prog_binutils_version_2_17_ok_annotated='yes (version 2.20.1.20100303)'
+cs_cv_prog_bison_is_version=4.2
+cs_cv_prog_bison_version_1_35_ok=yes
+cs_cv_prog_bison_version_1_35_ok_annotated='yes (version 4.2)'
+cs_cv_prog_cc_individual_sections='-ffunction-sections -fdata-sections'
+cs_cv_prog_cc_individual_sections_ok='-ffunction-sections -fdata-sections'
+cs_cv_prog_cc_pipe=-pipe
+cs_cv_prog_cc_pipe_ok=-pipe
+cs_cv_prog_cxx_ignore_long_double=
+cs_cv_prog_cxx_ignore_long_double_ok=no
+cs_cv_prog_cxx_pic=-fPIC
+cs_cv_prog_cxx_pic_ok=-fPIC
+cs_cv_prog_cxx_pic_werror=-Werror
+cs_cv_prog_cxx_pic_werror_ok=-Werror
+cs_cv_prog_jam_is_version=2.5.3
+cs_cv_prog_jam_version_2_4_ok=yes
+cs_cv_prog_jam_version_2_4_ok_annotated='yes (version 2.5.3)'
+cs_cv_prog_link_as_needed=-Wl,--as-needed
+cs_cv_prog_link_as_needed_ok=-Wl,--as-needed
+cs_cv_prog_link_gc_sections=-Wl,--gc-sections
+cs_cv_prog_link_gc_sections_ok=-Wl,--gc-sections
+cs_cv_prog_link_large_address_aware=
+cs_cv_prog_link_large_address_aware_ok=no
+cs_cv_prog_link_no_as_needed=-Wl,--no-as-needed
+cs_cv_prog_link_no_as_needed_ok=-Wl,--no-as-needed
+cs_cv_prog_link_respfile=yes
+cs_cv_prog_link_shared='-shared -fPIC'
+cs_cv_prog_link_shared_ok='-shared -fPIC'
+cs_cv_prog_link_soname=yes
+cs_cv_prog_link_soname_cflags=-Wl,-soname,foobar
+cs_cv_prog_link_soname_lflags=
+cs_cv_prog_link_soname_libs=
+cs_cv_prog_swig_is_version=1.3.40
+cs_cv_prog_swig_version_1_3_22_ok=yes
+cs_cv_prog_swig_version_1_3_22_ok_annotated='yes (version 1.3.40)'
+cs_cv_pybase=python2.6
+cs_cv_pybase_cflags='-I/usr/include/python2.6 '
+cs_cv_pybase_lflags_base=' -L/usr/lib64/python2.6'
+cs_cv_pybase_lflags_ext=' -L/usr/lib64/python2.6 -L/usr/lib64/python2.6/config'
+cs_cv_pybase_libs='-lpthread -ldl -lutil -lm'
+cs_cv_pybase_syslib=/usr/lib64/python2.6
+cs_cv_pybase_sysprefix=/usr
+cs_cv_pybase_sysprefix_lflags=' -L/usr/lib'
+cs_cv_python=yes
+cs_cv_python_cflags=-I/usr/include/python2.6
+cs_cv_python_ext=.so
+cs_cv_python_lflags=
+cs_cv_python_libs='-L/usr/lib64/python2.6 -lpython2.6 -lpthread -ldl -lutil -lm -lpthread'
+cs_cv_python_sdk=yes
+cs_cv_pyver=2.6
+cs_cv_shell_mkdir=mkdir
+cs_cv_shell_mkdir_p='mkdir -p'
+cs_cv_source_is_svn=no
+cs_cv_sys_pthread=yes
+cs_cv_sys_pthread_atfork=yes
+cs_cv_sys_pthread_cflags=
+cs_cv_sys_pthread_lflags=
+cs_cv_sys_pthread_libs=-lpthread
+cs_cv_sys_pthread_mutex_recursive=PTHREAD_MUTEX_RECURSIVE
+cs_cv_sys_pthread_setname_np=no
+cs_cv_sys_rtld_now=yes
+cs_cv_sys_rtld_now_cflags=
+cs_cv_sys_rtld_now_lflags=
+cs_cv_sys_rtld_now_libs=-ldl
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ANT=''
+APPLE_LIBTOOL=''
+BASH='/bin/sh'
+BISON='bison'
+CC='gcc'
+CFLAGS=''
+CONFIG_3DS=''
+CONFIG_ASOUND=''
+CONFIG_BFD=''
+CONFIG_CAIRO=''
+CONFIG_CAIROMM=''
+CONFIG_CAIROMM_1=''
+CONFIG_CAIROMM_1_0=''
+CONFIG_CAL3D=''
+CONFIG_CEGUI=''
+CONFIG_CEGUIBASE=''
+CONFIG_CG=''
+CONFIG_CGGL=''
+CONFIG_CPPUNIT=''
+CONFIG_FREETYPE2=''
+CONFIG_FREETYPE=''
+CONFIG_GTK=''
+CONFIG_GTKP_2_0=''
+CONFIG_JACKASYN=''
+CONFIG_JPEG=''
+CONFIG_LCMS=''
+CONFIG_LIB3DS=''
+CONFIG_LIB3DS_120=''
+CONFIG_LIBJPEG=''
+CONFIG_LIBMNG=''
+CONFIG_LIBPNG=''
+CONFIG_MNG=''
+CONFIG_ODE=''
+CONFIG_OGG=''
+CONFIG_PNG=''
+CONFIG_SPEEX=''
+CONFIG_VGVM=''
+CONFIG_VORBIS=''
+CONFIG_VORBISFILE=''
+CONFIG_WX=''
+CONFIG_X11=''
+CONFIG_XAW7=''
+CONFIG_XAW=''
+CONFIG_XCURSOR=''
+CONFIG_XEXT=''
+CONFIG_XRENDER=''
+CONFIG_XXF86VM=''
+CONFIG_Z=''
+CONFIG_ZLIB=''
+CONVERT='convert'
+CPP='gcc -E'
+CPPFLAGS=''
+CSLIBS_CONFIG=''
+CS_LT_APPLE='/usr/bin/libtool'
+CS_TOP_BUILDDIR='.'
+CS_TOP_SRCDIR='/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9'
+CXX='g++'
+CXXCPP='g++ -E'
+CXXFLAGS=''
+DEFS=''
+DLLTOOL=''
+DLLWRAP=''
+DOT='dot'
+DOXYGEN='doxygen'
+DVIPDF='dvipdf'
+DVIPS='dvips'
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP='/bin/grep -E'
+EXEEXT=''
+FLEX='flex'
+GREP='/bin/grep'
+HHC=''
+ICOTOOL=''
+INSTALL='install'
+JAM='/usr/bin/jam'
+JAVA='/home/sed/.gentoo/java-config-2/current-user-vm/bin/java'
+JAVAC='/home/sed/.gentoo/java-config-2/current-user-vm/bin/javac'
+LD='ld'
+LDFLAGS=''
+LIBOBJS=''
+LIBS='-lnsl -lc '
+LIBTOOL='/usr/bin/libtool'
+LIBTOOL_PATH='/usr/bin/libtool'
+LIBTOOL_TEST='libtool'
+LN_S='ln -s'
+LTLIBOBJS=''
+MAKE='gmake'
+MAKEICNS=''
+MAKEINFO='makeinfo'
+MKDIR='mkdir'
+MKDIRS='mkdir -p'
+OBJCOPY='objcopy'
+OBJEXT='o'
+PACKAGE_BUGREPORT='crystal-main@lists.sourceforge.net'
+PACKAGE_NAME='crystalspace'
+PACKAGE_STRING='crystalspace 1.9'
+PACKAGE_TARNAME='crystalspace'
+PACKAGE_URL=''
+PACKAGE_VERSION='1.9'
+PATH_SEPARATOR=':'
+PERL='perl'
+PKG_CONFIG=''
+PNG2ICNS=''
+PNGCRUSH=''
+PYTHON='python'
+RANLIB='ranlib'
+RELAYTOOL='/var/tmp/portage/dev-games/crystalspace-1.9_pre9999/work/crystalspace-1.9/bin/relaytool'
+RSVG='rsvg'
+SHELL='/bin/sh'
+STRINGS='strings'
+SUBVERSION='svn'
+SWIG='swig'
+TEXI2DVI='texi2dvi'
+TEXI2PDF='texi2pdf'
+TTREE=''
+WINDRES=''
+XMKMF=''
+X_CFLAGS=''
+X_EXTRA_LIBS=''
+X_LIBS=''
+X_PRE_LIBS=''
+ac_ct_CC='gcc'
+ac_ct_CSLIBS_CONFIG=''
+ac_ct_CXX='g++'
+ac_ct_DLLTOOL=''
+ac_ct_DLLWRAP=''
+ac_ct_DOT='dot'
+ac_ct_HHC=''
+ac_ct_LD='ld'
+ac_ct_LIBTOOL=''
+ac_ct_LIBTOOL_TEST='libtool'
+ac_ct_OBJCOPY='objcopy'
+ac_ct_PKG_CONFIG=''
+ac_ct_PYTHON='python'
+ac_ct_STRINGS='strings'
+ac_ct_SUBVERSION='svn'
+ac_ct_WINDRES=''
+bindir='${exec_prefix}/bin'
+build='x86_64-unknown-linux-gnu'
+build_alias=''
+build_cpu='x86_64'
+build_os='linux-gnu'
+build_vendor='unknown'
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+dvidir='${docdir}'
+exec_prefix='NONE'
+host='x86_64-unknown-linux-gnu'
+host_alias=''
+host_cpu='x86_64'
+host_os='linux-gnu'
+host_vendor='unknown'
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${datarootdir}/info'
+libdir='${exec_prefix}/lib'
+libexecdir='${exec_prefix}/libexec'
+localedir='${datarootdir}/locale'
+localstatedir='${prefix}/var'
+mandir='${datarootdir}/man'
+oldincludedir='/usr/include'
+pdfdir='${docdir}'
+prefix='NONE'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+sysconfdir='${prefix}/etc'
+target_alias=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+/* confdefs.h */
+#define PACKAGE_NAME "crystalspace"
+#define PACKAGE_TARNAME "crystalspace"
+#define PACKAGE_VERSION "1.9"
+#define PACKAGE_STRING "crystalspace 1.9"
+#define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
+#define PACKAGE_URL ""
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_CMATH 1
+#define HAVE_MATH_H 1
+#define HAVE_LIBC 1
+#define HAVE_LIBNSL 1
+#define CS_PLATFORM_UNIX /**/
+
+configure: caught signal 13
+configure: exit 1
diff --git a/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild b/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild
new file mode 100644
index 0000000..fea439e
--- /dev/null
+++ b/dev-games/crystalspace/crystalspace-1.4.0-r2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils flag-o-matic multilib java-pkg-opt-2 autotools wxwidgets versionator
+
+MY_P=${PN}-src-${PV}
+PATH_P=${PN}-$(get_version_component_range 1-2)
+
+DESCRIPTION="Portable 3D Game Development Kit written in C++"
+HOMEPAGE="http://crystal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/crystal/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="3ds alsa bullet cal3d cegui cg doc java jpeg mng ode png sdl speex truetype vorbis wxwidgets"
+
+SLOT="0"
+
+COMMON_DEP="virtual/opengl
+ media-libs/openal
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ ode? ( dev-games/ode )
+ cal3d? ( >=media-libs/cal3d-0.11 )
+ jpeg? ( media-libs/jpeg )
+ bullet? ( sci-physics/bullet )
+ sdl? ( media-libs/libsdl )
+ vorbis? ( media-libs/libvorbis )
+ speex? ( media-libs/libogg
+ media-libs/speex )
+ truetype? ( >=media-libs/freetype-2.1 )
+ alsa? ( media-libs/alsa-lib )
+ mng? ( media-libs/libmng )
+ png? ( media-libs/libpng )
+ wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] )
+ cegui? ( >=dev-games/cegui-0.5.0 )
+ 3ds? ( media-libs/lib3ds )"
+
+RDEPEND="${COMMON_DEP}
+ java? ( >=virtual/jre-1.5 )"
+
+DEPEND="${COMMON_DEP}
+ java? ( >=virtual/jdk-1.5
+ dev-java/ant-core )
+ dev-util/ftjam
+ dev-lang/swig
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # Installing doc conflict with dodoc on src_install
+ # Removing conflicting target
+ sed -i \
+ -e "/^InstallDoc/d" \
+ Jamfile.in \
+ docs/Jamfile \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-bullet.patch
+ AT_M4DIR=mk/autoconf
+ eautoreconf
+}
+
+src_configure() {
+ if use wxwidgets; then
+ WX_GTK_VER="2.8"
+ need-wxwidgets gtk2
+ fi
+
+ econf --enable-cpu-specific-optimizations=no \
+ --disable-separate-debug-info \
+ --without-lcms \
+ --without-caca \
+ --without-jackasyn \
+ --without-perl \
+ $(use_with java) \
+ --disable-make-emulation \
+ $(use_with bullet) \
+ --without-python \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with mng) \
+ $(use_with vorbis) \
+ $(use_with speex) \
+ $(use_with 3ds) \
+ $(use_with ode) \
+ $(use_with truetype freetype2) \
+ $(use_with cal3d) \
+ $(use_with sdl) \
+ $(use_with wxwidgets wx) \
+ $(use_with wxwidgets GTK) \
+ $(use_with cegui CEGUI) \
+ $(use_with cg Cg) \
+ $(use_with alsa asound)
+ #remove unwanted CFLAGS added by ./configure
+ sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \
+ Jamconfig \
+ || die "sed failed"
+}
+
+src_compile() {
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+ jam -q ${jamopts} || die "compile failed"
+}
+
+src_install() {
+ for installTarget in bin plugin lib include data config bindings
+ do
+ jam -q -s DESTDIR="${D}" install_${installTarget} \
+ || die "jam install_${installTarget} failed"
+ done
+ if use doc; then
+ jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
+ fi
+ dodoc README docs/history*
+
+ echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/${PATH_P}" > 90crystalspace
+ echo "CRYSTAL_CONFIG=/etc/${PATH_P}" >> 90crystalspace
+ doenvd 90crystalspace
+}
+
+pkg_postinst() {
+ elog "Examples coming with this package, need correct light calculation"
+ elog "Do the following commands, with the root account, to fix that:"
+ # Fill cache directory for the examples
+ local dir
+ for dir in castle flarge isomap parallaxtest partsys r3dtest stenciltest \
+ terrain terrainf;
+ do
+ elog "cslight -video=null /usr/share/${PATH_P}/data/maps/${dir}"
+ done
+}
diff --git a/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild b/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild
new file mode 100644
index 0000000..7b152d4
--- /dev/null
+++ b/dev-games/crystalspace/crystalspace-1.9_pre9999-r5.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit autotools eutils flag-o-matic multilib java-pkg-opt-2 subversion wxwidgets versionator
+
+MY_PV=$(get_version_component_range 1-2)
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Portable 3D Game Development Kit written in C++"
+HOMEPAGE="http://www.crystalspace3d.org/"
+ESVN_REPO_URI="https://crystal.svn.sourceforge.net/svnroot/crystal/CS/trunk"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="3ds alsa bullet cal3d cegui cg debug doc java jpeg mng ode +optimize png profile python static-plugins speex truetype vorbis wxwidgets"
+
+SLOT="0"
+
+COMMON_DEP="virtual/opengl
+ media-libs/openal
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ ode? ( dev-games/ode )
+ cal3d? ( >=media-libs/cal3d-0.11 )
+ jpeg? ( media-libs/jpeg )
+ bullet? ( sci-physics/bullet )
+ vorbis? ( media-libs/libvorbis )
+ speex? ( media-libs/libogg
+ media-libs/speex )
+ truetype? ( >=media-libs/freetype-2.1 )
+ alsa? ( media-libs/alsa-lib )
+ mng? ( media-libs/libmng )
+ png? ( media-libs/libpng )
+ wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] )
+ cegui? ( >=dev-games/cegui-0.5.0 )
+ 3ds? ( media-libs/lib3ds )"
+
+RDEPEND="${COMMON_DEP}
+ java? ( >=virtual/jre-1.5 )"
+
+DEPEND="${COMMON_DEP}
+ java? ( >=virtual/jdk-1.5
+ dev-java/ant-core )
+ dev-lang/swig
+ dev-util/pkgconfig
+ dev-util/ftjam"
+
+S=${WORKDIR}/${MY_P}
+
+
+src_prepare() {
+ # As flags are managed by debug, optimize and profile USE flags,
+ # they need to be stripped first. If we do not do this, the calling
+ # lines grow so large, that jam segfaults.
+ strip-flags
+
+ # Installing doc conflict with dodoc on src_install
+ # Removing conflicting target
+ sed -i \
+ -e "/^InstallDoc/d" \
+ Jamfile.in \
+ docs/Jamfile \
+ || die "sed failed"
+
+ AT_M4DIR=mk/autoconf
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use wxwidgets ; then
+ WX_GTK_VER="2.8"
+ need-wxwidgets gtk2
+ fi
+
+ # debug profile and optimize are mutually exclusive
+ if use debug ; then
+ myconf="--enable-debug --disable-optimize --disable-profile"
+ if use optimize ; then
+ ewarn "debug version chosen, optimize USE flag ignored."
+ fi
+ if use profile ; then
+ ewarn "debug version chosen, profile USE flag ignored."
+ fi
+ elif use profile ; then
+ myconf="--disable-debug --disable-optimize --enable-profile"
+ if use optimize ; then
+ ewarn "profile version chosen, optimize USE flag ignored."
+ fi
+ elif use optimize ; then
+ myconf="--disable-debug --enable-optimize --disable-profile"
+ else
+ # optimize is the default anyway
+ myconf="--disable-debug --enable-optimize --disable-profile"
+ ewarn "optimize is the CS default and thus chosen."
+ fi
+
+ econf \
+ --without-lcms \
+ --without-jackasyn \
+ --with-x \
+ --with-mesa \
+ --disable-make-emulation \
+ --without-perl \
+ --with-python \
+ --disable-separate-debug-info \
+ --disable-optimize-mode-debug-info \
+ $(use_with java) \
+ $(use_with bullet) \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with mng) \
+ $(use_with vorbis) \
+ $(use_with speex) \
+ $(use_with 3ds) \
+ $(use_with ode) \
+ $(use_with truetype freetype2) \
+ $(use_with cal3d) \
+ $(use_with wxwidgets wx) \
+ $(use_with wxwidgets GTK) \
+ $(use_with cegui CEGUI) \
+ $(use_with cg Cg) \
+ $(use_with alsa asound) \
+ ${myconf} \
+ || die "configure failed."
+}
+
+src_compile() {
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
+ jam -q ${jamopts} || die "compile failed (jam -q ${jamopts})"
+
+ if use static-plugins; then
+ jam -q ${jamopts} staticplugins \
+ || die "staticplugins compile failed (jam -q ${jamopts})"
+ fi
+}
+
+src_install() {
+ for installTarget in bin bindings config data include lib plugin
+ do
+ jam -q -s DESTDIR="${D}" install_${installTarget} \
+ || die "jam install_${installTarget} failed"
+ done
+ if use static-plugins; then
+ jam -q -s DESTDIR="${D}" install_staticplugins \
+ || die "jam install_staticplugins failed"
+ fi
+ if use doc; then
+ jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
+ fi
+
+ # As the target install_doc uses crystalspace-1.9 as target, but dodoc
+ # uses ${PF}, this said var has to be manipulated first.
+ local oldPF=${PF}
+ PF=${MY_P}
+ dodoc README docs/history*
+ PF=${oldPF}
+
+ echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/${MY_P}" > 90crystalspace
+ echo "CRYSTAL_CONFIG=/etc/${MY_P}" >> 90crystalspace
+ doenvd 90crystalspace
+}
+
+pkg_postinst() {
+ elog "Examples coming with this package, need correct light calculation"
+ elog "Do the following commands, with the root account, to fix that:"
+ # Fill cache directory for the examples
+ local dir
+ for dir in castle isomap parallaxtest r3dtest stenciltest terrain terrainf;
+ do
+ elog "lighter2 --simpletui /usr/share/${MY_P}/data/maps/${dir}"
+ done
+}
diff --git a/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch b/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch
new file mode 100644
index 0000000..2fd0f20
--- /dev/null
+++ b/dev-games/crystalspace/files/crystalspace-1.4.0-bullet.patch
@@ -0,0 +1,12 @@
+--- configure.ac.old 2010-06-19 21:50:21.000000000 +0200
++++ configure.ac 2010-06-19 22:00:50.000000000 +0200
+@@ -1318,8 +1318,7 @@
+ btDefaultCollisionConfiguration* c;
+ btDynamicsWorld* world = new btDiscreteDynamicsWorld (d, b, s, c)])],
+ [], [C++], [], [],
+- [], [], [-lbulletdynamics -lbulletcollision -lbulletmath],
+- [bulletdynamics])
++ [])
+
+ AS_IF([test $cs_cv_libbullet = yes],
+ [CS_CHECK_BUILD([if bullet is sufficiently recent (>=2.68)], [cs_cv_bullet_recent],