[haiku-commits] r41461 - haiku/trunk/build/jam

  • From: scott mc <scottmc2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 12 May 2011 05:01:17 +0200 (CEST)

Author: scottmc
Date: 2011-05-12 05:01:17 +0200 (Thu, 12 May 2011)
New Revision: 41461
Changeset: https://dev.haiku-os.org/changeset/41461

Modified:
   haiku/trunk/build/jam/OptionalPackages
Log:
Added gcc4 version of git.


Modified: haiku/trunk/build/jam/OptionalPackages
===================================================================
--- haiku/trunk/build/jam/OptionalPackages      2011-05-12 01:41:33 UTC (rev 
41460)
+++ haiku/trunk/build/jam/OptionalPackages      2011-05-12 03:01:17 UTC (rev 
41461)
@@ -794,10 +794,17 @@
        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 ;
+               }
        }
 }
 


Other related posts:

  • » [haiku-commits] r41461 - haiku/trunk/build/jam - scott mc