summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-15 12:51:49 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-15 16:06:45 -0400
commit360a640ad90ee5a87a5dcaff4e0ca66c472fa053 (patch)
tree525a1dceb1e030bee4975de3429bca78dab818ff /app-misc/bottlerocket
parentsys-apps/dchroot: EAPI6->8, run eautoreconf for clang16 (diff)
downloadgentoo-360a640ad90ee5a87a5dcaff4e0ca66c472fa053.tar.gz
gentoo-360a640ad90ee5a87a5dcaff4e0ca66c472fa053.tar.bz2
gentoo-360a640ad90ee5a87a5dcaff4e0ca66c472fa053.zip
app-misc/bottlerocket: EAPI7->8, run eautoreconf for clang16
Also use https and respect CPPFLAGS. Closes: https://bugs.gentoo.org/874321 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-misc/bottlerocket')
-rw-r--r--app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild28
1 files changed, 12 insertions, 16 deletions
diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
index dbc423b04cb7..fef8fe2c07ac 100644
--- a/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r2.ebuild
@@ -1,39 +1,35 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit toolchain-funcs
+inherit autotools
DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
-HOMEPAGE="http://www.linuxha.com/bottlerocket/"
-SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz"
+HOMEPAGE="https://www.linuxha.com/bottlerocket/"
+SRC_URI="https://www.linuxha.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-IUSE=""
KEYWORDS="amd64 ~ppc ~sparc x86"
src_prepare() {
default
- # inset LDFLAGS
- sed -i Makefile.in \
- -e 's| -O2 ||g' \
- -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
- || die "sed Makefile.in"
+
+ sed -e 's| -O2 ||' \
+ -e '/ -o br /s|${CFLAGS}|& $(CPPFLAGS) $(LDFLAGS)|' \
+ -i Makefile.in || die
+
+ eautoreconf #874321
}
src_configure() {
econf --with-x10port=/dev/firecracker
}
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
src_install() {
- dodoc README
dobin br
+ dodoc README
}
pkg_postinst() {