From 1c7ef6b6bc70db1f1abf899373f4b37284309fcf Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 25 Dec 2016 22:45:31 +0300 Subject: [PATCH] games-simulation/openttd: install data to /usr/share/games Gentoo-Bug: 600272 + some configure args cleanup Closes: https://github.com/gentoo/gentoo/pull/3242 --- .../{openttd-1.6.1.ebuild => openttd-1.6.1-r1.ebuild} | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) rename games-simulation/openttd/{openttd-1.6.1.ebuild => openttd-1.6.1-r1.ebuild} (94%) diff --git a/games-simulation/openttd/openttd-1.6.1.ebuild b/games-simulation/openttd/openttd-1.6.1-r1.ebuild similarity index 94% rename from games-simulation/openttd/openttd-1.6.1.ebuild rename to games-simulation/openttd/openttd-1.6.1-r1.ebuild index bac156eb335b..a0c62ed0bf08 100644 --- a/games-simulation/openttd/openttd-1.6.1.ebuild +++ b/games-simulation/openttd/openttd-1.6.1-r1.ebuild @@ -89,15 +89,9 @@ src_configure() { # It's all built as C++, upstream uses CFLAGS internally. CFLAGS="" ./configure \ --disable-strip \ - --prefix-dir="${EPREFIX}" \ - --binary-dir="/usr/bin" \ - --data-dir="/usr/share/${PN}" \ + --prefix-dir="${EPREFIX}/usr" \ + --binary-dir="bin" \ --install-dir="${D}" \ - --icon-dir=/usr/share/pixmaps \ - --menu-dir=/usr/share/applications \ - --icon-theme-dir=/usr/share/icons/hicolor \ - --man-dir=/usr/share/man/man6 \ - --doc-dir=/usr/share/doc/${PF} \ --menu-group="Game;Simulation;" \ ${myopts[@]} \ $(use_with iconv) \ -- 2.26.2