summaryrefslogtreecommitdiff
path: root/app-shells/tcsh/tcsh-6.22.04.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/tcsh/tcsh-6.22.04.ebuild')
-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' \