summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-24 07:53:04 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-24 07:53:04 +0100
commit7deebceeece4e05083f78a241ea9119f47c21ce3 (patch)
tree3bb189ad1684e30733a27f125f6224a9c0d2ae50 /app-emulation
parentx11-wm/wmfs: Actually apply dropped patch instead (diff)
downloadgentoo-7deebceeece4e05083f78a241ea9119f47c21ce3.tar.gz
gentoo-7deebceeece4e05083f78a241ea9119f47c21ce3.tar.bz2
gentoo-7deebceeece4e05083f78a241ea9119f47c21ce3.zip
app-emulation/dosemu: fail in pkg_pretend() on clang
dosemu needs 16-bit code assembly support from assembler. gcc/gas provides it, llvm/clang does not. Fail at pkg_pretend() for now. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/729240 Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
index c7771af9cd8..61a15bd1f53 100644
--- a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
+++ b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
@@ -58,6 +58,12 @@ PATCHES=(
"${FILESDIR}"/${P}-as.patch
)
+pkg_pretend() {
+ if tc-is-clang; then
+ die "${P} does not work on clang due to missing 16-bit assembly support: https://bugs.gentoo.org/729240. Please try gcc."
+ fi
+}
+
src_prepare() {
default