From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABBDE13835A for ; Fri, 30 Apr 2021 07:45:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FDB8E086C; Fri, 30 Apr 2021 07:45:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEE8FE086C for ; Fri, 30 Apr 2021 07:45:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11737340C79 for ; Fri, 30 Apr 2021 07:45:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B38173F for ; Fri, 30 Apr 2021 07:45:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1619697463.30ecba553847add9b44b2f038e5852e3e49532fe.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/fbc/fbc-1.07.2-r1.ebuild X-VCS-Directories: dev-lang/fbc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 30ecba553847add9b44b2f038e5852e3e49532fe X-VCS-Branch: master Date: Fri, 30 Apr 2021 07:45:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8450ea4d-8340-4c78-9845-77ee508c072e X-Archives-Hash: 75fc6b27c200d2df276d838f99d77ce6 commit: 30ecba553847add9b44b2f038e5852e3e49532fe Author: William Breathitt Gray gmail com> AuthorDate: Thu Apr 29 11:57:43 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 11:57:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30ecba55 dev-lang/fbc: Drop old version Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc/fbc-1.07.2-r1.ebuild | 92 --------------------------------------- 1 file changed, 92 deletions(-) diff --git a/dev-lang/fbc/fbc-1.07.2-r1.ebuild b/dev-lang/fbc/fbc-1.07.2-r1.ebuild deleted file mode 100644 index 324c8741c..000000000 --- a/dev-lang/fbc/fbc-1.07.2-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A free/open source, multi-platform BASIC compiler." -HOMEPAGE="https://www.freebasic.net" -SRC_URI=" - https://github.com/freebasic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/freebasic/${PN}/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz -" - -LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gpm libffi opengl X" - -DEPEND=" - sys-libs/ncurses:= - gpm? ( sys-libs/gpm ) - libffi? ( dev-libs/libffi ) - opengl? ( virtual/opengl ) - X? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.07.0-Pass-ltinfo-to-linker.patch" ) - -DOCS="${S}/doc/fbc.1" - -BOOTSTRAP_S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" - -src_unpack() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - unpack "FreeBASIC-${PV}-source-bootstrap.tar.xz" - fi - unpack "${P}.tar.gz" -} - -src_prepare() { - # We only need bootstrap source code if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - eapply "${PATCHES[@]}" - cd "${S}" || die "cd failed" - fi - eapply_user -} - -src_compile() { - local fbc="fbc" - local fbcflags="" - - # We only need bootstrap compiler if fbc is not already present - if ! has_version dev-lang/fbc; then - cd "${BOOTSTRAP_S}" || die "cd failed" - - # Build bootstrap compiler - emake bootstrap-minimal - - # Set bootstrap compiler to build fbc - fbc="${BOOTSTRAP_S}/bin/fbc" - fbcflags="-i ${BOOTSTRAP_S}/inc" - - cd "${S}" || die "cd failed" - fi - - local xcflags=( - $(usex gpm "" "-DDISABLE_GPM") - $(usex libffi "" " -DDISABLE_FFI") - $(usex opengl "" " -DDISABLE_OPENGL") - $(usex X "" " -DDISABLE_X11") - ) - - # fbc requires a space after the -Wl option - local fblflags="${LDFLAGS//-Wl,/-Wl }" - - # Build fbc - emake CFLAGS="${CFLAGS} ${xcflags[*]} -I/usr/$(get_libdir)/libffi/include" FBC="${fbc}" FBCFLAGS="${fbcflags}" FBLFLAGS="${fblflags}" TARGET="${CHOST}" -} - -src_install() { - emake DESTDIR="${D}" prefix="/usr" TARGET="${CHOST}" install - einstalldocs -}