Merge pull request #273677 from philiptaron/clisp

clisp: fix build
This commit is contained in:
7c6f434c 2023-12-12 11:40:40 +00:00 committed by GitHub
commit ac12a78dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ stdenv.mkDerivation {
};
strictDeps = true;
nativeBuildInputs = lib.optionals stdenv.isDarwin [ autoconf269 automake libtool ];
nativeBuildInputs = [ autoconf269 automake libtool ];
buildInputs = [libsigsegv]
++ lib.optional (gettext != null) gettext
++ lib.optional (ncurses != null) ncurses
@ -81,6 +81,7 @@ stdenv.mkDerivation {
postPatch = ''
sed -e 's@9090@64237@g' -i tests/socket.tst
sed -i 's@/bin/pwd@${coreutils}&@' src/clisp-link.in
sed -i 's@1\.16\.2@${automake.version}@' src/aclocal.m4
find . -type f | xargs sed -e 's/-lICE/-lXau &/' -i
'';