From 9abab7eb49ddd30b12ed126e465cf8f0b16aa578 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 12 May 2011 03:01:17 +0000 Subject: [PATCH] Added gcc4 version of git. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41461 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/OptionalPackages | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages index a72f19ed33..047780a817 100644 --- a/build/jam/OptionalPackages +++ b/build/jam/OptionalPackages @@ -794,10 +794,17 @@ if [ IsOptionalHaikuImagePackageAdded Git ] { if $(TARGET_ARCH) != x86 { Echo "No optional package Git available for $(TARGET_ARCH)" ; } else { - InstallOptionalHaikuImagePackage - git-1.7.5-x86-gcc2-2011-05-10.zip - : $(baseURL)/git-1.7.5-x86-gcc2-2011-05-10.zip - : : true ; + if $(HAIKU_GCC_VERSION[1]) >= 4 { + InstallOptionalHaikuImagePackage + git-1.7.5-x86-gcc4-2011-05-10.zip + : $(baseURL)/git-1.7.5-x86-gcc4-2011-05-10.zip + : : true ; + } else { + InstallOptionalHaikuImagePackage + git-1.7.5-x86-gcc2-2011-05-10.zip + : $(baseURL)/git-1.7.5-x86-gcc2-2011-05-10.zip + : : true ; + } } }