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

(-)/opt/gentoo/usr/portage/sci-mathematics/glpk/glpk-4.37.ebuild (-4 / +9 lines)
Lines 2-11 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-mathematics/glpk/glpk-4.37.ebuild,v 1.1 2009/04/07 09:00:36 bicatali Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/glpk/glpk-4.37.ebuild,v 1.1 2009/04/07 09:00:36 bicatali Exp $
4
4
5
EAPI="prefix"
6
7
EAPI=2
5
EAPI=2
8
inherit flag-o-matic
6
inherit autotools flag-o-matic
9
7
10
DESCRIPTION="GNU Linear Programming Kit"
8
DESCRIPTION="GNU Linear Programming Kit"
11
LICENSE="GPL-3"
9
LICENSE="GPL-3"
Lines 23-30 Link Here
23
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
24
	dev-util/pkgconfig"
22
	dev-util/pkgconfig"
25
23
24
src_unpack() {
25
	unpack ${A}
26
	cd "${S}"
27
    sed -i "s|export-symbols-regex '^(glp_\\|_glp_lpx_).*'|export-symbols-regex '^(glp_\\|_glp_lpx_\\|_glp_lib_fault_hook\\|_glp_lib_print_hook).*'|g" src/Makefile.am
28
	eautoreconf
29
}
30
26
src_configure() {
31
src_configure() {
27
	local myconf="--disable-dl"
32
    local myconf="--disable-dl"
28
	if use mysql || use odbc; then
33
	if use mysql || use odbc; then
29
		myconf="--enable-dl"
34
		myconf="--enable-dl"
30
	fi
35
	fi

Return to bug 267273