Index: openscenegraph-3.0.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-3.0.1-r1.ebuild,v retrieving revision 1.4 diff -u -B -r1.4 openscenegraph-3.0.1-r1.ebuild --- openscenegraph-3.0.1-r1.ebuild 15 Jun 2013 20:09:37 -0000 1.4 +++ openscenegraph-3.0.1-r1.ebuild 10 Feb 2014 00:43:15 -0000 @@ -4,7 +4,7 @@ EAPI=3 -inherit eutils cmake-utils flag-o-matic wxwidgets +inherit eutils cmake-utils flag-o-matic wxwidgets multilib MY_PN="OpenSceneGraph" MY_P=${MY_PN}-${PV} @@ -92,10 +92,15 @@ # Needed by FFmpeg append-cppflags -D__STDC_CONSTANT_MACROS + # While cmake-utils provides LIB_SUFFIX, we can avoid patching buildsystem + # to use it. Bug #500716 + local libdir=$(get_libdir) + mycmakeargs=( -DDYNAMIC_OPENSCENEGRAPH=ON -DWITH_OpenAL=OFF # Commented out in buildsystem -DGENTOO_DOCDIR="/usr/share/doc/${PF}" + -DLIB_POSTFIX=${libdir/lib} $(cmake-utils_use_with curl) $(cmake-utils_use_build doc DOCUMENTATION) $(cmake-utils_use_build osgapps OSG_APPLICATIONS)