summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-11-15 07:36:12 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-11-15 07:39:37 +0200
commit604a695d20a10bb03ed983911322be3a90b735df (patch)
treeb702310ef9214ef3cdbbaac1c13cc6971dd958e1 /dev-embedded/sdcc
parentapp-admin/awscli: Bump to 1.30.0 (diff)
downloadgentoo-604a695d20a10bb03ed983911322be3a90b735df.tar.gz
gentoo-604a695d20a10bb03ed983911322be3a90b735df.tar.bz2
gentoo-604a695d20a10bb03ed983911322be3a90b735df.zip
dev-embedded/sdcc: fix build issue with USE=-mos65c02
Don't generate a Makefile instead of attempting to remove it afterwards. Closes: https://bugs.gentoo.org/917354 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-embedded/sdcc')
-rw-r--r--dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
index 6bfa58b9f7e7..9e37f736f518 100644
--- a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
@@ -96,6 +96,10 @@ src_prepare() {
# libiberty configure will fail if this was not set
export libiberty_topdir="${S}"/support/sdbinutils/libiberty
+ # this does not build: https://sourceforge.net/p/sdcc/bugs/3673/
+ # disable for now
+ sed 's:device/lib/mos65c02/Makefile::' -i configure.ac || die
+
default
eautoreconf
@@ -144,10 +148,6 @@ src_configure() {
$(use_enable mos65c02 mos65c02-port)
)
econf "${myeconfargs[@]}"
-
- # this does not build: https://sourceforge.net/p/sdcc/bugs/3673/
- # disable for now
- rm device/lib/mos65c02/Makefile || die
}
src_compile() {