aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-08-25 23:15:18 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-08-26 23:53:11 +0900
commit84f438bbefd5541ab9074c85e73b1261d8232445 (patch)
tree732876623a3212505ca895a235482e6681a56236 /games-puzzle
parentwww-apps/invidious: add 2024.08.25.1, drop 2024.03.31 (diff)
downloadguru-84f438bbefd5541ab9074c85e73b1261d8232445.tar.gz
guru-84f438bbefd5541ab9074c85e73b1261d8232445.tar.bz2
guru-84f438bbefd5541ab9074c85e73b1261d8232445.zip
games-puzzle/xdemineur: fix rdeps, {C,LD}FLAGS
Closes: https://bugs.gentoo.org/937365 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/xdemineur/xdemineur-2.1.1-r1.ebuild (renamed from games-puzzle/xdemineur/xdemineur-2.1.1.ebuild)16
1 files changed, 14 insertions, 2 deletions
diff --git a/games-puzzle/xdemineur/xdemineur-2.1.1.ebuild b/games-puzzle/xdemineur/xdemineur-2.1.1-r1.ebuild
index 0a7ca8f72..055c80701 100644
--- a/games-puzzle/xdemineur/xdemineur-2.1.1.ebuild
+++ b/games-puzzle/xdemineur/xdemineur-2.1.1-r1.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="Minesweeper clone for the X11 windowing system"
HOMEPAGE="https://salsa.debian.org/debian/xdemineur"
@@ -17,6 +19,7 @@ BDEPEND="
"
RDEPEND="
x11-libs/libX11
+ x11-libs/libXext
x11-libs/libXpm
"
DEPEND="
@@ -28,9 +31,18 @@ PATCHES=(
)
src_configure() {
- xmkmf || die
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}
src_compile() {
- emake
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ LOCAL_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" install.man
}