Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 499526
Collapse All | Expand All

(-)grass-6.4.2.ebuild (-11 / +8 lines)
Lines 1-13 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.11 2014/01/06 15:37:42 jlec Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.9 2013/07/04 13:06:30 ago Exp $
4
4
5
EAPI=4
5
EAPI=4
6
6
7
PYTHON_DEPEND="python? 2"
7
PYTHON_COMPAT=( python2_{5..7} )
8
WANT_AUTOCONF="2.1"
8
WANT_AUTOCONF="2.1"
9
9
10
inherit eutils gnome2 multilib python versionator wxwidgets autotools
10
inherit eutils gnome2 multilib python-single-r1 versionator wxwidgets base autotools
11
11
12
MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
12
MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
13
MY_PM=${MY_PM/.}
13
MY_PM=${MY_PM/.}
Lines 49-54 Link Here
49
	)
49
	)
50
	png? ( media-libs/libpng )
50
	png? ( media-libs/libpng )
51
	postgres? ( >=dev-db/postgresql-base-8.4 )
51
	postgres? ( >=dev-db/postgresql-base-8.4 )
52
	python? ( ${PYTHON_DEPS} )
52
	readline? ( sys-libs/readline )
53
	readline? ( sys-libs/readline )
53
	sqlite? ( dev-db/sqlite:3 )
54
	sqlite? ( dev-db/sqlite:3 )
54
	tiff? ( media-libs/tiff )
55
	tiff? ( media-libs/tiff )
Lines 125-140 Link Here
125
		fi
126
		fi
126
	fi
127
	fi
127
128
128
	if use python; then
129
	use python && python-single-r1_pkg_setup
129
		# only py2 is supported
130
		python_set_active_version 2
131
	fi
132
}
130
}
133
131
134
src_prepare() {
132
src_prepare() {
135
	use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
133
	use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
136
	epatch ${PATCHES[@]}
134
	base_src_prepare
137
	epatch_user
138
	eautoconf
135
	eautoconf
139
}
136
}
140
137
Lines 215-221 Link Here
215
212
216
src_compile() {
213
src_compile() {
217
	# we don't want to link against embeded mysql lib
214
	# we don't want to link against embeded mysql lib
218
	emake MYSQLDLIB=""
215
	base_src_compile MYSQLDLIB=""
219
}
216
}
220
217
221
src_install() {
218
src_install() {

Return to bug 499526