sortix-mirror/ports/git/git.port
Jonas 'Sortie' Termansen f6df57851a Add less port.
2025-01-30 00:29:43 +01:00

20 lines
1,012 B
Text

NAME=git
BUILD_LIBRARIES='libiconv libz libcurl? libexpat? libintl? libpcre? libssl?'
VERSION=2.46.0
DISTNAME=$NAME-$VERSION
COMPRESSION=tar.xz
ARCHIVE=$DISTNAME.$COMPRESSION
SHA256SUM=7f123462a28b7ca3ebe2607485f7168554c2b10dfc155c7ec46300666ac27f95
UPSTREAM_SITE=https://www.kernel.org/pub/software/scm/git
UPSTREAM_ARCHIVE=$ARCHIVE
BUILD_PROGRAMS='asciidoc? dblatex? docbook2x? xmlto?'
BUILD_SYSTEM=configure
DIRTY_FILE=config.mak.autogen
CONFIGURE_ARGS='--with-editor=editor --with-pager=less --with-shell=sh --with-perl=perl --with-python=python'
CONFIGURE_VARS='ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no'
# TODO: We force MAKE to make because I occasionally use a tool called colormake
# that likes to colorize even when the output device is a pipe, which
# causes trouble here. You can safely remove this sortie has learned the
# error of his ways.
# Perl is disabled because perl features do not cross-compile correctly.
MAKE_VARS='V=1 MAKE=make NO_PERL=NoThanks'