summaryrefslogtreecommitdiff
path: root/x11-misc/xtrlock
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xtrlock')
-rw-r--r--x11-misc/xtrlock/Manifest2
-rw-r--r--x11-misc/xtrlock/xtrlock-2.13.ebuild16
2 files changed, 10 insertions, 8 deletions
diff --git a/x11-misc/xtrlock/Manifest b/x11-misc/xtrlock/Manifest
index 9849305a46be..cfcf05cde595 100644
--- a/x11-misc/xtrlock/Manifest
+++ b/x11-misc/xtrlock/Manifest
@@ -1,3 +1,3 @@
DIST xtrlock_2.13.tar.xz 21156 BLAKE2B 879c27936cf8058707cbdb2247e1044c8c5eadf74dcb2bcfd5ec8f4b2bab80da6859118e48943de97f7696e41456771bf274b03728a61f5ac6bef8b471192dce SHA512 656e1e77194b816b04260a88c8046b8ef25d6df0405de6fe1ee1dfb2ebfa528a329c1b67be70eaac5ce4ee6a4159d728d363bf8a59232941b76b1e6d14aa91aa
-EBUILD xtrlock-2.13.ebuild 712 BLAKE2B 1f587c37c929005f8e1e68800e2d744aaa37184f4e957d475fcbfed46d9326c5df8e485cd6c8168914aa94f1c10aec9957ff301df85caa41919db34ad301469a SHA512 ec8adb3db4eb76d2b490037f76c3663feae6b6eaa80f6ac9aaba29076b72767f4802ba792f3996c2f59a2cc38880d7da13449d7f2244821f95fd74c92992a988
+EBUILD xtrlock-2.13.ebuild 831 BLAKE2B 820e9806370d41dab46d944529788ec36f127bb2c6b93edaafbff3122fe9fd47f5be3399a2d75d5cd02773e7b5ac818423343dcb6d276728cacf2f114d57b605 SHA512 90dab0bdc57a34d007caa2e9552d525a083879ef8062108796d958ea2ee2f950aa94c3bac239d01104c7f497ceaffd9340a09a46e5a97c865a1c40dae8beae95
MISC metadata.xml 318 BLAKE2B e2fde4c35c72439790ea9e4c0e403f1a0666a7ebc8e9f350b29138d01c171765fac8cd6adee54667bbc19921e6fc976a427c3429464769a02d9e8dc8c83a8925 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b
diff --git a/x11-misc/xtrlock/xtrlock-2.13.ebuild b/x11-misc/xtrlock/xtrlock-2.13.ebuild
index 48d686600b3c..75993d78c0cd 100644
--- a/x11-misc/xtrlock/xtrlock-2.13.ebuild
+++ b/x11-misc/xtrlock/xtrlock-2.13.ebuild
@@ -12,17 +12,19 @@ SLOT="0"
LICENSE="GPL-3"
KEYWORDS="amd64 ppc x86"
-RDEPEND="
- x11-libs/libX11
-"
-DEPEND="
- ${RDEPEND}
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+BDEPEND="
x11-base/xorg-proto
- x11-misc/imake
+ >=x11-misc/imake-1.0.8-r1
"
+src_configure() {
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
+}
+
src_compile() {
- xmkmf || die
emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
}