summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-05-23 11:42:44 +0200
committerFabian Groffen <grobian@gentoo.org>2021-05-23 11:45:05 +0200
commit626c3e09fd3337c2e560bed8dc3723a3de0918d3 (patch)
treece9263034300c2f914d4016b0c07ea9353f0b185 /app-shells
parentmedia-libs/libffado: py3_9 (diff)
downloadgentoo-626c3e09fd3337c2e560bed8dc3723a3de0918d3.tar.gz
gentoo-626c3e09fd3337c2e560bed8dc3723a3de0918d3.tar.bz2
gentoo-626c3e09fd3337c2e560bed8dc3723a3de0918d3.zip
app-shells/tcsh-6.22.04: disable non-functional utmp on musl
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/tcsh/tcsh-6.22.04.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-shells/tcsh/tcsh-6.22.04.ebuild b/app-shells/tcsh/tcsh-6.22.04.ebuild
index 3ce4f1d44b2e..41835e196feb 100644
--- a/app-shells/tcsh/tcsh-6.22.04.ebuild
+++ b/app-shells/tcsh/tcsh-6.22.04.ebuild
@@ -77,6 +77,12 @@ src_configure() {
append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'"
append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'"
+ # musl's utmp is non-functional
+ if use elibc_musl ; then
+ export ac_cv_header_utmp_h=no
+ export ac_cv_header_utmpx_h=no
+ fi
+
econf \
--prefix="${EPREFIX:-}" \
--datarootdir='${prefix}/usr/share' \