-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dennis Bonke <[email protected]>
- Loading branch information
1 parent
1c235a3
commit 3e1d60c
Showing
3 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
packages: | ||
- name: git | ||
metadata: | ||
summary: The Git version control system | ||
description: Git is one of the most used version control systems designed to handle large projects efficiently. | ||
spdx: 'GPL-2' | ||
website: 'https://www.git-scm.com/' | ||
maintainer: "Dennis Bonke <[email protected]>" | ||
categories: ['dev-vcs'] | ||
source: | ||
subdir: 'ports' | ||
git: 'https://github.com/git/git.git' | ||
tag: 'v2.32.0' | ||
version: '2.32.0' | ||
tools_required: | ||
- host-autoconf-v2.69 | ||
- host-automake-v1.15 | ||
- host-libtool | ||
regenerate: | ||
- args: ['autoreconf'] | ||
tools_required: | ||
- host-pkg-config | ||
- system-gcc | ||
- virtual: pkgconfig-for-target | ||
triple: "@OPTION:arch-triple@" | ||
pkgs_required: | ||
- mlibc | ||
- python | ||
- libexpat | ||
- zlib | ||
- openssl | ||
- curl | ||
- libiconv | ||
- pcre | ||
configure: | ||
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@'] | ||
- args: | ||
- './configure' | ||
- '--host=@OPTION:arch-triple@' | ||
- '--prefix=/usr' | ||
- '--with-python=python3' | ||
- '--with-gitconfig=/etc/gitconfig' | ||
- '--with-curl=@SYSROOT_DIR@/usr' | ||
- '--without-iconv' | ||
- '--with-libpcre' | ||
- 'ac_cv_fread_reads_directories=1' | ||
- 'ac_cv_snprintf_returns_bogus=1' | ||
environ: | ||
CURL_CONFIG: '@SYSROOT_DIR@/usr/bin/curl-config' | ||
build: | ||
- args: ['make', 'NO_GETTEXT=YesPlease', '-j@PARALLELISM@'] | ||
- args: ['make', 'NO_GETTEXT=YesPlease', 'install'] | ||
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 53584e9beb2c607d6dd77422db652c6014ddabcb Mon Sep 17 00:00:00 2001 | ||
From: Dennis Bonke <[email protected]> | ||
Date: Fri, 16 Jul 2021 15:58:28 +0200 | ||
Subject: [PATCH] Initial Managarm support | ||
|
||
Signed-off-by: Dennis Bonke <[email protected]> | ||
--- | ||
config.mak.uname | 12 ++++++------ | ||
1 file changed, 6 insertions(+), 6 deletions(-) | ||
|
||
diff --git a/config.mak.uname b/config.mak.uname | ||
index cb443b4e02..6cb9520c54 100644 | ||
--- a/config.mak.uname | ||
+++ b/config.mak.uname | ||
@@ -4,12 +4,12 @@ | ||
# Microsoft's Safe Exception Handling in libraries (such as zlib). | ||
# Typically required for VS2013+/32-bit compilation on Vista+ versions. | ||
|
||
-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') | ||
-uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not') | ||
-uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not') | ||
-uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not') | ||
-uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not') | ||
-uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not') | ||
+uname_S := #$(shell sh -c 'uname -s 2>/dev/null || echo not') | ||
+uname_M := #$(shell sh -c 'uname -m 2>/dev/null || echo not') | ||
+uname_O := #$(shell sh -c 'uname -o 2>/dev/null || echo not') | ||
+uname_R := #$(shell sh -c 'uname -r 2>/dev/null || echo not') | ||
+uname_P := #$(shell sh -c 'uname -p 2>/dev/null || echo not') | ||
+uname_V := #$(shell sh -c 'uname -v 2>/dev/null || echo not') | ||
|
||
ifdef MSVC | ||
# avoid the MingW and Cygwin configuration sections | ||
2.32.0 | ||
|