Install this version:
emerge -a =dev-lang/fbc-bootstrap-1.10.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-lang/fbc-bootstrap-1.10.1
Or alternatively:
emerge --autounmask-write -a =dev-lang/fbc-bootstrap-1.10.1
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Bootstrap package for dev-lang/fbc"
HOMEPAGE="https://www.freebasic.net"
SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"
S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap"
LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/ncurses:="
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-fix-ldflags.patch" )
src_compile() {
emake bootstrap-minimal \
AR="$(tc-getAR)" AS="$(tc-getAS)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" V=1
}
src_install() {
newbin bin/fbc fbc-bootstrap
emake DESTDIR="${D}" prefix="${EPREFIX}/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes
emake DESTDIR="${D}" prefix="${EPREFIX}/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | FreeBASIC-1.10.1-source-bootstrap.tar.xz | 15113488 bytes | https://github.com/freebasic/fbc/releases/download/1.10.1/FreeBASIC-1.10.1-source-bootstrap.tar.xz |