summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-03 00:32:08 -0500
committerSam James <sam@gentoo.org>2024-03-03 05:51:12 +0000
commitbf8021b7878ce7a4dbd92639ca20ef93084514dc (patch)
tree9528c8697f4337730d75999066fdd63ec9e15dad /app-i18n/xvnkb
parentnet-dns/maradns: mark as LTO-unsafe (diff)
downloadgentoo-bf8021b7878ce7a4dbd92639ca20ef93084514dc.tar.gz
gentoo-bf8021b7878ce7a4dbd92639ca20ef93084514dc.tar.bz2
gentoo-bf8021b7878ce7a4dbd92639ca20ef93084514dc.zip
app-i18n/xvnkb: error out immediately if no Makefile exists
This package is absolutely horrible. It has the world's worst homebrew "configure" script, which fails but doesn't *error out* with -Wimplicit-int as a compiler default error, and also has: config.h:1:1: error: expected identifier or ‘(’ before ‘-’ token 1 | -e #ifndef __VK_CONFIG_H which is just... dandy... I too love unix command flags echo'ed into my headers... It's a wreck but we can at least detect when it cannot compile anything and abort with a clearer message. Bug: https://bugs.gentoo.org/900398 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-i18n/xvnkb')
-rw-r--r--app-i18n/xvnkb/xvnkb-0.2.11.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-i18n/xvnkb/xvnkb-0.2.11.ebuild b/app-i18n/xvnkb/xvnkb-0.2.11.ebuild
index 98e4e14b988b..876fa3426ab7 100644
--- a/app-i18n/xvnkb/xvnkb-0.2.11.ebuild
+++ b/app-i18n/xvnkb/xvnkb-0.2.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -37,6 +37,7 @@ src_configure() {
$(usex xft '' '--no-xft') \
--use-extstroke \
|| die "./configure failed"
+ [[ -f Makefile ]] || die "./configure failed to set an error code, but didn't create a Makefile either"
}
src_install() {