aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--defaults/software.sh2
-rw-r--r--gkbuilds/strace.gkbuild9
2 files changed, 6 insertions, 5 deletions
diff --git a/defaults/software.sh b/defaults/software.sh
index e938584..291bad4 100644
--- a/defaults/software.sh
+++ b/defaults/software.sh
@@ -186,7 +186,7 @@ GKPKG_POPT_BINPKG="${GKPKG_POPT_BINPKG:-%%CACHE%%/popt-${GKPKG_POPT_PV}-%%ARCH%%
GKPKG_STRACE_PN="strace"
GKPKG_STRACE_PV="${GKPKG_STRACE_PV:-VERSION_STRACE}"
-GKPKG_STRACE_DEPS=""
+GKPKG_STRACE_DEPS="libaio"
GKPKG_STRACE_SRCTAR="${GKPKG_STRACE_SRCTAR:-${DISTDIR}/strace-${GKPKG_STRACE_PV}.tar.xz}"
GKPKG_STRACE_SRCDIR="${GKPKG_STRACE_SRCDIR:-strace-${GKPKG_STRACE_PV}}"
GKPKG_STRACE_BINPKG="${GKPKG_STRACE_BINPKG:-%%CACHE%%/strace-${GKPKG_STRACE_PV}-%%ARCH%%.tar.xz}"
diff --git a/gkbuilds/strace.gkbuild b/gkbuilds/strace.gkbuild
index 62399ce..d32a4b7 100644
--- a/gkbuilds/strace.gkbuild
+++ b/gkbuilds/strace.gkbuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
src_configure() {
append-ldflags -static -pthread
- export ac_cv_header_libaio_h=yes
local myconf=(
+ --disable-gcc-Werror
--enable-mpers=check
+ --enable-static
--without-libunwind
--without-libdw
)
@@ -19,8 +20,8 @@ src_configure() {
src_install() {
mkdir -p "${D}"/usr/bin || die "Failed to create '${D}/usr/bin'!"
- cp -a strace "${D}"/usr/bin/ \
- || die "Failed to copy '${S}/strace' to '${D}/usr/bin/'!"
+ cp -a src/strace "${D}"/usr/bin/ \
+ || die "Failed to copy '${S}/src/strace' to '${D}/usr/bin/'!"
"${STRIP}" --strip-all "${D}"/usr/bin/strace \
|| die "Failed to strip '${D}/usr/bin/strace'!"