x11-misc/xautolock: fix build with -native-symlinks

Also swapped DEPEND with BDEPEND to put imake in the right block.

Closes: https://bugs.gentoo.org/726214
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-04-14 08:27:22 -04:00
committed by Joonas Niilola
parent a50d9135ce
commit 3f689108a6

View File

@@ -19,11 +19,11 @@ KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86"
RDEPEND="
x11-libs/libXScrnSaver
"
DEPEND="
${RDEPEND}
DEPEND="${RDEPEND}"
BDEPEND="
app-text/rman
x11-base/xorg-proto
x11-misc/imake
>=x11-misc/imake-1.0.8-r1
"
PATCHES=(
"${FILESDIR}"/${PN}-2.2_p5_p1-waitpid.patch
@@ -37,7 +37,8 @@ src_prepare() {
}
src_configure() {
xmkmf || die
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
}
src_compile() {