From 28b83da72c8f788a8606b9c449169103f715cfe8 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 19 Mar 2008 04:11:10 +0200 Subject: [PATCH] git: Marked as cross-compileable when requested Note: For being able to cross-compile git we have to omit check for formatted IO functions support C99 size specifiers, by using a config cache tweak, asuming that the support is available. --- develop/git/git.conf | 5 +++++ develop/git/git.desc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/develop/git/git.conf b/develop/git/git.conf index 1648e371c..c1ecced8a 100644 --- a/develop/git/git.conf +++ b/develop/git/git.conf @@ -12,6 +12,11 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +if atstage cross; then + # omit check for formatted IO functions support C99 size specifiers + var_append configcache ' ' "ac_cv_c_c99_format=yes" +fi + # disable git-gui if there is no tcl/tk support if ! pkginstalled tk; then var_append extraconfopt ' ' "--without-tcltk" diff --git a/develop/git/git.desc b/develop/git/git.desc index b151034e4..511269da2 100644 --- a/develop/git/git.desc +++ b/develop/git/git.desc @@ -27,6 +27,6 @@ [L] GPL [S] Stable [V] 1.6.1.3 -[P] X -----5---9 209.700 +[P] X -?---5---9 209.700 [D] 1078590353 git-1.6.1.3.tar.bz2 http://www.kernel.org/pub/software/scm/git/