mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
This fixes the build, how ever I don't know why the auto detection broke in the first place.
22 lines
577 B
Bash
Executable File
22 lines
577 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=git
|
|
version=2.26.0
|
|
useconfigure="true"
|
|
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz"
|
|
configopts="--target=i686-pc-serenity CFLAGS=-DNO_IPV6"
|
|
depends="zlib"
|
|
|
|
build() {
|
|
run make $makeopts
|
|
run make strip
|
|
}
|
|
|
|
post_install() {
|
|
mkdir -p "$SERENITY_ROOT"/Build/Root/home/anon
|
|
cp "$workdir"/../default_gitconfig "$SERENITY_ROOT"/Build/Root/home/anon/.gitconfig
|
|
}
|
|
|
|
export NO_OPENSSL=1
|
|
export ac_cv_fread_reads_directories=no
|
|
export ac_cv_snprintf_returns_bogus=no
|