--- /usr/portage/dev-python/visual/visual-5.13.ebuild 2009-10-20 16:13:47.000000000 +0000 +++ visual-5.13-r1.ebuild 2009-12-03 19:40:05.000000000 +0000 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.13.ebuild,v 1.1 2009/10/20 16:13:47 grozin Exp $ EAPI=2 -inherit eutils python +inherit eutils python flag-o-matic MY_P="${P}_release" S="${WORKDIR}/${MY_P}" @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc ~x86" LICENSE="visual" -RDEPEND="=dev-libs/boost-1.35* +RDEPEND="dev-libs/boost:1.41[python] dev-cpp/libglademm >=dev-cpp/gtkglextmm-1.2 dev-python/numpy" @@ -26,6 +26,13 @@ dev-util/pkgconfig" src_configure() { + #We have to use a hack here because the build system doesn't provide a way to specify + #the include and lib directory for boost + append-cxxflags \ + -I/usr/include/boost-1_41 + append-ldflags \ + -L/usr/$(get_libdir)/boost-1_41 + econf \ --with-html-dir=/usr/share/doc/${PF}/html \ --with-example-dir=/usr/share/doc/${PF}/examples \