Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271019 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-python/visual/visual-5.13.ebuild (-2 / +15 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.13.ebuild,v 1.1 2009/10/20 16:13:47 grozin Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.13.ebuild,v 1.1 2009/10/20 16:13:47 grozin Exp $
4
4
5
EAPI=2
5
EAPI=2
6
inherit eutils python
6
inherit eutils python flag-o-matic versionator
7
7
8
MY_P="${P}_release"
8
MY_P="${P}_release"
9
S="${WORKDIR}/${MY_P}"
9
S="${WORKDIR}/${MY_P}"
Lines 17-23 Link Here
17
KEYWORDS="~amd64 ~ppc ~x86"
17
KEYWORDS="~amd64 ~ppc ~x86"
18
LICENSE="visual"
18
LICENSE="visual"
19
19
20
RDEPEND="=dev-libs/boost-1.35*
20
RDEPEND=">=dev-libs/boost-1.41.0[python]
21
	dev-cpp/libglademm
21
	dev-cpp/libglademm
22
	>=dev-cpp/gtkglextmm-1.2
22
	>=dev-cpp/gtkglextmm-1.2
23
	dev-python/numpy"
23
	dev-python/numpy"
Lines 26-31 Link Here
26
	dev-util/pkgconfig"
26
	dev-util/pkgconfig"
27
27
28
src_configure() {
28
src_configure() {
29
	BOOST_PKG="$(best_version ">=dev-libs/boost-1.41.0")"
30
	BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
31
	BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
32
	BOOST_INC="/usr/include/boost-${BOOST_VER}"
33
	BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
34
35
	#We have to use a hack here because the build system doesn't provide a way to specify
36
	#the include and lib directory for boost
37
	append-cxxflags \
38
		-I${BOOST_INC}
39
	append-ldflags \
40
		-L${BOOST_LIB}
41
29
	econf \
42
	econf \
30
		--with-html-dir=/usr/share/doc/${PF}/html \
43
		--with-html-dir=/usr/share/doc/${PF}/html \
31
		--with-example-dir=/usr/share/doc/${PF}/examples \
44
		--with-example-dir=/usr/share/doc/${PF}/examples \

Return to bug 271019