Skip to content

Commit

Permalink
games-misc/xcruiser: fix build with -native-symlinks
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/730804
Signed-off-by: Ionen Wolkens <[email protected]>
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
ionenwks authored and juippis committed Apr 15, 2021
1 parent fd418fa commit a42fa92
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions games-misc/xcruiser/xcruiser-0.30-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Expand All @@ -18,11 +18,15 @@ RDEPEND="x11-libs/libXaw"
DEPEND="${RDEPEND}
app-text/rman
x11-misc/gccmakedep
x11-misc/imake"
>=x11-misc/imake-1.0.8-r1"

src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
}

src_compile() {
xmkmf -a
emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
}

src_install() {
Expand Down

0 comments on commit a42fa92

Please sign in to comment.