diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-19 16:19:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-19 18:27:09 +0200 |
commit | e0363a612d76be8ecb76ada6c7caf6d3182293b2 (patch) | |
tree | f784803ad9d57b88a388a6a8f5569f14e8d0ebd0 /Ports/ncurses | |
parent | 253c1aa64464c9da8843d2d8778cccafe980a4a8 (diff) | |
download | serenity-e0363a612d76be8ecb76ada6c7caf6d3182293b2.zip |
Ports: Fix ports when building with ccache
When building with ccache these ports failed to build because
CC contains more than one word.
The ncurses port also doesn't like how ccache preprocesses
files. This patch fixes that.
Diffstat (limited to 'Ports/ncurses')
-rwxr-xr-x | Ports/ncurses/package.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ports/ncurses/package.sh b/Ports/ncurses/package.sh index 2463ad6af5..ea6ead6e55 100755 --- a/Ports/ncurses/package.sh +++ b/Ports/ncurses/package.sh @@ -8,3 +8,7 @@ https://ftpmirror.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz.sig ncurses-${ve https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg" auth_type="sig" auth_opts="--keyring ./gnu-keyring.gpg ncurses-${version}.tar.gz.sig" + +pre_configure() { + export CPPFLAGS="-P" +} |