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

Collapse All | Expand All

(-)plplot-5.5.2.ebuild (-8 / +6 lines)
Lines 2-8 Link Here
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-libs/plplot/plplot-5.5.2.ebuild,v 1.3 2005/08/20 20:06:46 cryos Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.5.2.ebuild,v 1.3 2005/08/20 20:06:46 cryos Exp $
4
4
5
inherit eutils
5
inherit eutils fortran
6
6
7
# Known problems with this ebuild:
7
# Known problems with this ebuild:
8
# - No support for libqhull.
8
# - No support for libqhull.
Lines 41-54 Link Here
41
	# Optional support for libqhull (currently doesn't work).
41
	# Optional support for libqhull (currently doesn't work).
42
	# qhull? ( media-libs/qhull )
42
	# qhull? ( media-libs/qhull )
43
43
44
FORTRAN="g77 ifc"
45
44
pkg_setup() {
46
pkg_setup() {
45
	# If the fortran interface is wanted, the gnu f77 compiler
47
	# If the fortran interface is wanted, we need a Fortran compiler.
46
	# is needed unless ifc is used (which is taken care of in
48
	if use fortran; then
47
	# the dependencies).
49
		fortran_pkg_setup
48
	use fortran && ! use ifc || if [ -z 'which g77' ]; then
49
		eerror "GNU fortran 77 compiler not found on the system."
50
		eerror "Please add fortran to your USE flags and reemerge gcc."
51
		die
52
	fi
50
	fi
53
}
51
}
54
52

Return to bug 65950