Diff glpk-5.0-r4 with a glpk-5.0-r5
| /usr/portage/sci-mathematics/glpk/glpk-5.0-r5.ebuild 2026-09-30 20:03:04.742975037 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2026 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=8 |
|
| 4 |
EAPI=9 |
|
| 5 | 5 | |
| 6 | 6 |
inherit autotools flag-o-matic |
| 7 | 7 | |
| ... | ... | |
| 11 | 11 | |
| 12 | 12 |
LICENSE="GPL-3" |
| 13 | 13 |
SLOT="0/40" |
| 14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc x86" |
|
| 15 |
IUSE="doc examples gmp mysql" |
|
| 14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
| 15 |
IUSE="doc examples mysql" |
|
| 16 | 16 | |
| 17 | 17 |
BDEPEND="virtual/pkgconfig" |
| 18 | 18 |
DEPEND=" |
| 19 |
dev-libs/gmp:0= |
|
| 19 | 20 |
sci-libs/amd:0= |
| 20 | 21 |
sci-libs/colamd:= |
| 21 | 22 |
virtual/zlib:= |
| 22 |
gmp? ( dev-libs/gmp:0= ) |
|
| 23 | 23 |
mysql? ( |
| 24 | 24 |
dev-db/mysql-connector-c |
| 25 | 25 |
dev-libs/libltdl |
| ... | ... | |
| 40 | 40 |
default |
| 41 | 41 | |
| 42 | 42 |
eautoreconf |
| 43 | ||
| 44 |
# GLPK's config.h.in is handwritten so autoheader will normally |
|
| 45 |
# refuse to overwrite it when we call autoreconf (bug 983432). The |
|
| 46 |
# generated header contains all of the preprocessor constants that |
|
| 47 |
# the handwritten one does though, and the new ones do not appear |
|
| 48 |
# in the codebase, so it should be fine. |
|
| 49 |
eautoheader --replace-handwritten |
|
| 43 | 50 |
} |
| 44 | 51 | |
| 45 | 52 |
src_configure() {
|
| 46 | 53 |
econf --disable-static \ |
| 47 | 54 |
--disable-odbc \ |
| 55 |
--with-gmp \ |
|
| 48 | 56 |
$(use_enable mysql dl) \ |
| 49 |
$(use_enable mysql) \ |
|
| 50 |
$(use_with gmp) |
|
| 57 |
$(use_enable mysql) |
|
| 51 | 58 |
} |
| 52 | 59 | |
| 53 | 60 |
src_install() {
|