1 |
commit: d26b3a32bc218398894096c050375d9fb457f23a |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 10 22:18:53 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 10 22:19:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d26b3a32 |
7 |
|
8 |
games-action/minetest: Remove misleading USE=jsoncpp flag |
9 |
|
10 |
* dev-libs/jsoncpp is required unconditionally, |
11 |
USE=jsoncpp would just toggle between the bundled |
12 |
and system one, which is obviously wrong. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/682996 |
15 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
16 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
17 |
|
18 |
.../minetest/{minetest-5.0.1.ebuild => minetest-5.0.1-r1.ebuild} | 9 ++++++--- |
19 |
1 file changed, 6 insertions(+), 3 deletions(-) |
20 |
|
21 |
diff --git a/games-action/minetest/minetest-5.0.1.ebuild b/games-action/minetest/minetest-5.0.1-r1.ebuild |
22 |
similarity index 93% |
23 |
rename from games-action/minetest/minetest-5.0.1.ebuild |
24 |
rename to games-action/minetest/minetest-5.0.1-r1.ebuild |
25 |
index 32f400f2692..8147fcf53ad 100644 |
26 |
--- a/games-action/minetest/minetest-5.0.1.ebuild |
27 |
+++ b/games-action/minetest/minetest-5.0.1-r1.ebuild |
28 |
@@ -12,11 +12,12 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
29 |
LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0" |
30 |
SLOT="0" |
31 |
KEYWORDS="~amd64 ~x86" |
32 |
-IUSE="+curl dedicated doc jsoncpp +leveldb luajit ncurses nls postgres redis +server +sound spatial +truetype" |
33 |
+IUSE="+curl dedicated doc +leveldb luajit ncurses nls postgres redis +server +sound spatial +truetype" |
34 |
|
35 |
RDEPEND=" |
36 |
dev-db/sqlite:3 |
37 |
dev-libs/gmp:0= |
38 |
+ dev-libs/jsoncpp:= |
39 |
sys-libs/zlib |
40 |
curl? ( net-misc/curl ) |
41 |
!dedicated? ( |
42 |
@@ -34,7 +35,6 @@ RDEPEND=" |
43 |
) |
44 |
truetype? ( media-libs/freetype:2 ) |
45 |
) |
46 |
- jsoncpp? ( dev-libs/jsoncpp ) |
47 |
leveldb? ( dev-libs/leveldb:= ) |
48 |
luajit? ( dev-lang/luajit:2 ) |
49 |
ncurses? ( sys-libs/ncurses:0= ) |
50 |
@@ -64,6 +64,9 @@ src_prepare() { |
51 |
-e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \ |
52 |
-e "s#@GROUP@#${PN}#g" \ |
53 |
"${FILESDIR}"/minetestserver.confd > "${T}"/minetestserver.confd || die |
54 |
+ |
55 |
+ # remove bundled gmp/jsoncpp |
56 |
+ rm -rf lib/{gmp,jsoncpp} || die |
57 |
} |
58 |
|
59 |
src_configure() { |
60 |
@@ -85,7 +88,7 @@ src_configure() { |
61 |
-DENABLE_REDIS=$(usex redis) |
62 |
-DENABLE_SPATIAL=$(usex spatial) |
63 |
-DENABLE_SOUND=$(usex sound) |
64 |
- -DENABLE_SYSTEM_JSONCPP=$(usex jsoncpp) |
65 |
+ -DENABLE_SYSTEM_JSONCPP=1 |
66 |
-DRUN_IN_PLACE=0 |
67 |
) |